mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Travis pls
This commit is contained in:
parent
d09aa2964f
commit
16aaddd132
37
.travis.yml
37
.travis.yml
|
@ -5,6 +5,23 @@ dist: trusty
|
||||||
git:
|
git:
|
||||||
depth: 5
|
depth: 5
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- source ./install.deps.sh
|
||||||
|
|
||||||
|
install:
|
||||||
|
- install_os_deps
|
||||||
|
|
||||||
|
script:
|
||||||
|
- echo "Configuration info:"
|
||||||
|
- export_compiler_vars
|
||||||
|
- ninja --version
|
||||||
|
- ./bootstrap.py --ci && ninja && ninja examples
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
email:
|
||||||
|
on_success: change
|
||||||
|
on_failure: change
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
|
@ -77,6 +94,7 @@ matrix:
|
||||||
- wget http://llvm.org/releases/$LLVM_VERSION/clang+llvm-$LLVM_VERSION-x86_64-linux-gnu-ubuntu-14.04.tar.xz -O $LLVM_ARCHIVE_PATH
|
- wget http://llvm.org/releases/$LLVM_VERSION/clang+llvm-$LLVM_VERSION-x86_64-linux-gnu-ubuntu-14.04.tar.xz -O $LLVM_ARCHIVE_PATH
|
||||||
- mkdir $HOME/clang-$LLVM_VERSION
|
- mkdir $HOME/clang-$LLVM_VERSION
|
||||||
- tar xf $LLVM_ARCHIVE_PATH -C $HOME/clang-$LLVM_VERSION --strip-components 1
|
- tar xf $LLVM_ARCHIVE_PATH -C $HOME/clang-$LLVM_VERSION --strip-components 1
|
||||||
|
- source ./install.deps.sh
|
||||||
compiler: clang
|
compiler: clang
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -102,6 +120,7 @@ matrix:
|
||||||
- wget http://llvm.org/releases/$LLVM_VERSION/clang+llvm-$LLVM_VERSION-x86_64-linux-gnu-ubuntu-14.04.tar.xz -O $LLVM_ARCHIVE_PATH
|
- wget http://llvm.org/releases/$LLVM_VERSION/clang+llvm-$LLVM_VERSION-x86_64-linux-gnu-ubuntu-14.04.tar.xz -O $LLVM_ARCHIVE_PATH
|
||||||
- mkdir $HOME/clang-$LLVM_VERSION
|
- mkdir $HOME/clang-$LLVM_VERSION
|
||||||
- tar xf $LLVM_ARCHIVE_PATH -C $HOME/clang-$LLVM_VERSION --strip-components 1
|
- tar xf $LLVM_ARCHIVE_PATH -C $HOME/clang-$LLVM_VERSION --strip-components 1
|
||||||
|
- source ./install.deps.sh
|
||||||
compiler: clang
|
compiler: clang
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -125,6 +144,7 @@ matrix:
|
||||||
- wget http://llvm.org/releases/$LLVM_VERSION/clang+llvm-$LLVM_VERSION-x86_64-linux-gnu-ubuntu-14.04.tar.xz -O $LLVM_ARCHIVE_PATH
|
- wget http://llvm.org/releases/$LLVM_VERSION/clang+llvm-$LLVM_VERSION-x86_64-linux-gnu-ubuntu-14.04.tar.xz -O $LLVM_ARCHIVE_PATH
|
||||||
- mkdir $HOME/clang-$LLVM_VERSION
|
- mkdir $HOME/clang-$LLVM_VERSION
|
||||||
- tar xf $LLVM_ARCHIVE_PATH -C $HOME/clang-$LLVM_VERSION --strip-components 1
|
- tar xf $LLVM_ARCHIVE_PATH -C $HOME/clang-$LLVM_VERSION --strip-components 1
|
||||||
|
- source ./install.deps.sh
|
||||||
compiler: clang
|
compiler: clang
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -152,20 +172,3 @@ matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- os: osx
|
- os: osx
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
|
||||||
before_install:
|
|
||||||
- source ./install.deps.sh
|
|
||||||
|
|
||||||
install:
|
|
||||||
- install_os_deps
|
|
||||||
|
|
||||||
script:
|
|
||||||
- echo "Configuration info:"
|
|
||||||
- export_compiler_vars
|
|
||||||
- ninja --version
|
|
||||||
- ./bootstrap.py --ci && ninja && ninja examples
|
|
||||||
|
|
||||||
notifications:
|
|
||||||
email:
|
|
||||||
on_success: change
|
|
||||||
on_failure: change
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user