forked from gabyx/ApproxMVBB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (57 loc) · 1.58 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
sudo: required
language: cpp
matrix:
include:
# List of whitelisted in travis packages for ubuntu-precise can be found here:
# https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
# List of whitelisted in travis apt-sources:
# https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json
- env: GCC_VERSION="4.9"
os: linux
dist: trusty
compiler: gcc
addons:
apt:
packages:
- gcc-4.9
- g++-4.9
sources:
- ubuntu-toolchain-r-test
- env: CLANG_VERSION="3.7"
os: linux
dist: trusty
compiler: clang
addons:
apt:
packages:
- clang-3.7
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
- env: GCC_VERSION="4.9"
os: osx
compiler: gcc
- env: CLANG_VERSION="3.7"
os: osx
osx_image: xcode7
compiler: clang
# Install dependencies
install:
- export ROOT_PATH=`pwd`/../;
- export CHECKOUT_PATH=`pwd`;
- echo "ROOT_PATH= $ROOT_PATH"
- echo "CHECKOUT_PATH= $CHECKOUT_PATH"
- chmod +x $CHECKOUT_PATH/travis/install_${TRAVIS_OS_NAME}.sh
- . $CHECKOUT_PATH/travis/install_${TRAVIS_OS_NAME}.sh
script:
- chmod +x $CHECKOUT_PATH/travis/build.sh
- . $CHECKOUT_PATH/travis/build.sh
after_success:
- cd $CHECKOUT_PATH
- git reset --hard HEAD # Discard build artifacts
- git clean -df # Discard build artifacts
#- bii init -l
#- bii user $BIICODE_USER -p $BIICODE_PASSWORD
#- if [ -n "$BIICODE_PASSWORD" ]; then bii publish -r; fi
notifications:
email: false