Skip to content

Commit ba3ad09

Browse files
committed
Initial drop of ZeeQL3Apache
0 parents  commit ba3ad09

33 files changed

Lines changed: 4457 additions & 0 deletions

.gitignore

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# Xcode
2+
#
3+
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4+
5+
## Build generated
6+
build/
7+
DerivedData/
8+
9+
## Various settings
10+
*.pbxuser
11+
!default.pbxuser
12+
*.mode1v3
13+
!default.mode1v3
14+
*.mode2v3
15+
!default.mode2v3
16+
*.perspectivev3
17+
!default.perspectivev3
18+
xcuserdata/
19+
20+
## Other
21+
*.moved-aside
22+
*.xcuserstate
23+
24+
## Obj-C/Swift specific
25+
*.hmap
26+
*.ipa
27+
*.dSYM.zip
28+
*.dSYM
29+
30+
## Playgrounds
31+
timeline.xctimeline
32+
playground.xcworkspace
33+
34+
# Swift Package Manager
35+
#
36+
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
37+
# Packages/
38+
.build/
39+
40+
# CocoaPods
41+
#
42+
# We recommend against adding the Pods directory to your .gitignore. However
43+
# you should judge for yourself, the pros and cons are mentioned at:
44+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
45+
#
46+
# Pods/
47+
48+
# Carthage
49+
#
50+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
51+
# Carthage/Checkouts
52+
53+
Carthage/Build
54+
55+
# fastlane
56+
#
57+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
58+
# screenshots whenever they are needed.
59+
# For more information about the recommended setup visit:
60+
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
61+
62+
fastlane/report.xml
63+
fastlane/Preview.html
64+
fastlane/screenshots
65+
fastlane/test_output
66+
67+
# hh
68+
.libs
69+
*.la
70+
*.lo
71+
*.slo
72+
*.so
73+
build
74+
*.build
75+
Debug
76+
Release
77+
*.pid
78+
*.xcscmblueprint
79+
80+
*~
81+
*.o
82+
Packages
83+
84+
Package.pins
85+

.travis.d/before-install.sh

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/bin/bash
2+
3+
if [[ "$TRAVIS_OS_NAME" == "Linux" ]]; then
4+
sudo apt-get install -y wget \
5+
clang-3.6 libc6-dev make git libicu52 libicu-dev \
6+
git autoconf libtool pkg-config \
7+
libblocksruntime-dev \
8+
libkqueue-dev \
9+
libpthread-workqueue-dev \
10+
systemtap-sdt-dev \
11+
libbsd-dev libbsd0 libbsd0-dbg \
12+
curl libcurl4-openssl-dev \
13+
libedit-dev \
14+
python2.7 python2.7-dev \
15+
\
16+
pkg-config libapr1-dev libaprutil1-dev \
17+
libxml2 apache2 apache2-dev \
18+
libaprutil1-dbd-sqlite3 \
19+
libaprutil1-dbd-pgsql
20+
21+
# Not available on Trusty: libnghttp2-dev
22+
23+
sudo update-alternatives --quiet --install /usr/bin/clang clang /usr/bin/clang-3.6 100
24+
sudo update-alternatives --quiet --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.6 100
25+
else
26+
echo "OS: $TRAVIS_OS_NAME"
27+
brew tap modswift/mod_swift
28+
brew update
29+
brew install homebrew/apache/httpd24 --with-mpm-event --with-http2
30+
brew install mod_swift
31+
fi

.travis.d/install.sh

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
#!/bin/bash
2+
3+
if [[ "$TRAVIS_OS_NAME" == "Linux" ]]; then
4+
5+
# our path is:
6+
# /home/travis/build/NozeIO/Noze.io/
7+
8+
# Install Swift
9+
10+
wget "${SWIFT_SNAPSHOT_NAME}"
11+
12+
TARBALL="`ls swift-*.tar.gz`"
13+
echo "Tarball: $TARBALL"
14+
15+
TARPATH="$PWD/$TARBALL"
16+
17+
cd $HOME # expand Swift tarball in $HOME
18+
tar zx --strip 1 --file=$TARPATH
19+
pwd
20+
21+
export PATH="$PWD/usr/bin:$PATH"
22+
which swift
23+
24+
if [ `which swift` ]; then
25+
echo "Installed Swift: `which swift`"
26+
else
27+
echo "Failed to install Swift?"
28+
exit 42
29+
fi
30+
swift --version
31+
32+
33+
# Environment
34+
35+
TT_SWIFT_BINARY=`which swift`
36+
37+
echo "${TT_SWIFT_BINARY}"
38+
39+
40+
# Install mod_swift
41+
42+
wget "${MOD_SWIFT}" -O mod_swift.tar.gz
43+
tar zxf mod_swift.tar.gz
44+
cd mod_swift-*
45+
make all
46+
sudo make install
47+
48+
swift apache validate
49+
50+
51+
# Go back somewhere
52+
53+
cd $HOME
54+
55+
fi

.travis.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
language: generic
2+
3+
notifications:
4+
slack: nozeio:LIFY1Jtkx0FRcLq3u1WliHRZ
5+
6+
matrix:
7+
include:
8+
- os: Linux
9+
dist: trusty
10+
env: MOD_SWIFT="https://github.com/modswift/mod_swift/archive/0.8.0.tar.gz" SWIFT_SNAPSHOT_NAME="https://swift.org/builds/swift-3.0.2-release/ubuntu1404/swift-3.0.2-RELEASE/swift-3.0.2-RELEASE-ubuntu14.04.tar.gz"
11+
sudo: required
12+
- os: Linux
13+
dist: trusty
14+
env: MOD_SWIFT="https://github.com/modswift/mod_swift/archive/0.8.0.tar.gz" SWIFT_SNAPSHOT_NAME="https://swift.org/builds/swift-3.1.1-release/ubuntu1404/swift-3.1.1-RELEASE/swift-3.1.1-RELEASE-ubuntu14.04.tar.gz"
15+
sudo: required
16+
- os: osx
17+
osx_image: xcode8.2
18+
19+
before_install:
20+
- ./.travis.d/before-install.sh
21+
22+
install:
23+
- ./.travis.d/install.sh
24+
25+
script:
26+
- export PATH="$HOME/usr/bin:$PATH"
27+
- swift build

0 commit comments

Comments
 (0)