This repository has been archived by the owner on Oct 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
456 additions
and
836 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
if [[ "$TRAVIS_OS_NAME" == "Linux" ]]; then | ||
sudo apt-get install -y wget \ | ||
clang-3.6 libc6-dev make git libicu52 libicu-dev \ | ||
git autoconf libtool pkg-config \ | ||
libblocksruntime-dev \ | ||
libkqueue-dev \ | ||
libpthread-workqueue-dev \ | ||
systemtap-sdt-dev \ | ||
libbsd-dev libbsd0 libbsd0-dbg \ | ||
curl libcurl4-openssl-dev \ | ||
libedit-dev \ | ||
python2.7 python2.7-dev \ | ||
libxml2 | ||
|
||
sudo update-alternatives --quiet --install /usr/bin/clang clang /usr/bin/clang-3.6 100 | ||
sudo update-alternatives --quiet --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.6 100 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash | ||
|
||
# our path is: | ||
# /home/travis/build/NozeIO/Noze.io/ | ||
|
||
# Install Swift | ||
|
||
wget "${SWIFT_SNAPSHOT_NAME}" | ||
|
||
TARBALL="`ls swift-*.tar.gz`" | ||
echo "Tarball: $TARBALL" | ||
|
||
TARPATH="$PWD/$TARBALL" | ||
|
||
cd $HOME # expand Swift tarball in $HOME | ||
tar zx --strip 1 --file=$TARPATH | ||
pwd | ||
|
||
export PATH="$PWD/usr/bin:$PATH" | ||
which swift | ||
|
||
if [ `which swift` ]; then | ||
echo "Installed Swift: `which swift`" | ||
else | ||
echo "Failed to install Swift?" | ||
exit 42 | ||
fi | ||
swift --version | ||
|
||
|
||
# Environment | ||
|
||
TT_SWIFT_BINARY=`which swift` | ||
|
||
echo "${TT_SWIFT_BINARY}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,38 @@ | ||
language: generic | ||
|
||
notifications: | ||
slack: | ||
rooms: | ||
- nozeio:LIFY1Jtkx0FRcLq3u1WliHRZ | ||
|
||
matrix: | ||
include: | ||
- os: Linux | ||
dist: trusty | ||
env: "SWIFT_SNAPSHOT_NAME=https://swift.org/builds/swift-3.0-preview-1/ubuntu1404/swift-3.0-preview-1/swift-3.0-preview-1-ubuntu14.04.tar.gz" | ||
env: 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" | ||
sudo: required | ||
- os: Linux | ||
dist: trusty | ||
env: 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" | ||
sudo: required | ||
- os: Linux | ||
dist: trusty | ||
env: "SWIFT_SNAPSHOT_NAME=https://swift.org/builds/swift-2.2.1-release/ubuntu1404/swift-2.2.1-RELEASE/swift-2.2.1-RELEASE-ubuntu14.04.tar.gz" | ||
env: SWIFT_SNAPSHOT_NAME="https://swift.org/builds/swift-4.0.2-release/ubuntu1404/swift-4.0.2-RELEASE/swift-4.0.2-RELEASE-ubuntu14.04.tar.gz" | ||
sudo: required | ||
- os: osx | ||
osx_image: xcode7.3 | ||
env: SWIFT_SNAPSHOT_NAME=DEVELOPMENT-SNAPSHOT-2016-05-31-a | ||
osx_image: xcode8.2 | ||
- os: osx | ||
osx_image: xcode9 | ||
|
||
before_install: | ||
- ./xcconfig/before-install.sh | ||
- ./.travis.d/before-install.sh | ||
|
||
install: | ||
- ./xcconfig/install.sh | ||
- ./.travis.d/install.sh | ||
|
||
script: | ||
- export SWIFTENV_ROOT="$HOME/.swiftenv" | ||
- export PATH="${SWIFTENV_ROOT}/bin:${SWIFTENV_ROOT}/shims:$PATH" | ||
- make | ||
- export PATH="$HOME/usr/bin:$PATH" | ||
- make all | ||
|
||
# - swift build -c release | ||
# - swift build -c debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.