-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
69 lines (59 loc) · 2.08 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
if: branch IN (master, testing) OR tag IS present
unused: &linux-template
os: linux
dist: trusty
language: cpp
services: docker
sudo: required
before_install:
- docker build -t eos:${DOCKER_TARGET} -f .travis/${DOCKER_TARGET} .
script:
- >
docker run -it -e COVERALLS_TOKEN -e GITHUB_TOKEN -e PACKAGECLOUD_TOKEN eos:${DOCKER_TARGET}
/bin/bash /src/.travis/build-and-test.bash ${DOCKER_TARGET} ${DOCKER_CXX} "${TRAVIS_TAG}" ${DOCKER_USE}
matrix:
include:
- <<: *linux-template
env:
- DOCKER_TARGET=xenial DOCKER_CXX=g++ DOCKER_USE=coverage
- <<: *linux-template
env:
- DOCKER_TARGET=xenial DOCKER_CXX=g++ DOCKER_USE=deploy
- <<: *linux-template
env:
- DOCKER_TARGET=xenial DOCKER_CXX=g++ DOCKER_USE=distcheck
- <<: *linux-template
env:
- DOCKER_TARGET=xenial DOCKER_CXX=clang++-4.0 DOCKER_USE=distcheck
- <<: *linux-template
env:
- DOCKER_TARGET=bionic DOCKER_CXX=g++ DOCKER_USE=deploy
- <<: *linux-template
env:
- DOCKER_TARGET=bionic DOCKER_CXX=g++ DOCKER_USE=distcheck
- <<: *linux-template
env:
- DOCKER_TARGET=disco DOCKER_CXX=g++ DOCKER_USE=deploy
- os: osx
osx_image: xcode11
language: cpp
sudo: required
before_install:
- export HOMEBREW_LOGS=/tmp
- brew tap eos/eos
- brew outdated python || brew upgrade python || true
- brew unlink python@2
- rm -Rf '/usr/local/lib/python2.7/site-packages/numpy/'
- brew outdated boost || brew upgrade boost || true
- brew outdated boost-python3 || brew upgrade boost-python3 || true
- brew install autoconf boost-python3 gsl hdf5 libtool minuit2 pmclib yaml-cpp
- pip3 install h5py matplotlib scipy PyYAML
script:
- /bin/bash .travis/build-and-test.bash osx g++ "${TRAVIS_TAG}" test
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/f5f1a75fe069428b1cd1
on_success: change
on_failure: always
on_start: never