forked from StatisKit/StatisKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
travis.yml
84 lines (69 loc) · 1.46 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
branches:
except:
- doc
- win
language: cpp
os:
- linux
- osx
sudo: required
services:
- docker
env:
# - CONDA_RECIPE=glibc
# - CONDA_RECIPE=gmp
# - CONDA_RECIPE=mpfr
# - CONDA_RECIPE=mpc
# - CONDA_RECIPE=isl
# - CONDA_RECIPE=binutils
# - CONDA_RECIPE=gcc
# - CONDA_RECIPE=libgcc
- CONDA_RECIPE=vcs
- CONDA_RECIPE=python-scons
- CONDA_RECIPE=python-parse
- CONDA_RECIPE=libdev
- CONDA_RECIPE=librun
- CONDA_RECIPE=python-dev
- CONDA_RECIPE=python-doc
- CONDA_RECIPE=llvm
- CONDA_RECIPE=clang
- CONDA_RECIPE=python-clang
- CONDA_RECIPE=libboost
- DOCKERFILE=ubuntu
matrix:
exclude:
- os: osx
env: DOCKERFILE=ubuntu
allow_failures:
- os: osx
env: CONDA_RECIPE=llvm
install:
- git clone https://github.com/StatisKit/travis-ci.git
- cd travis-ci
- source install.sh
before_script:
- source before_script.sh
script:
- if [[ "$CONDA_RECIPE" = "libboost" && "$TRAVIS_OS_NAME" = "linux" ]]; then
export TRAVIS_WAIT=true;
fi
- if [[ "$CONDA_RECIPE" = "libboost" && "$TRAVIS_OS_NAME" = "osx" ]]; then
export TRAVIS_WAIT=30;
fi
- source script.sh
after_success:
- source after_success.sh
after_failure:
- source after_failure.sh
before_deploy:
- source before_deploy.sh
deploy:
skip_cleanup: true
provider: script
on:
branch: master
script: bash deploy_script.sh
after_deploy:
- source after_deploy.sh
after_script:
- source after_script.sh