-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (29 loc) · 889 Bytes
/
.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
sudo: false
# dist: trusty
language: python
python:
- 2.7
- 3.6
branches:
only:
- master
before_install:
- sudo apt-get install -y freeglut3-dev libglu1-mesa
- if [[ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]]; then wget http://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi
- chmod +x miniconda.sh
- ./miniconda.sh -b -p /home/travis/mc
- export PATH=/home/travis/mc/bin:$PATH
- git clone https://github.com/yxqd/dotmantid ~/.mantid
install:
- export GIT_FULL_HASH=`git rev-parse HEAD`
- export GIT_VER=`git describe --tags`
- echo ${TRAVIS_PYTHON_VERSION}
- ./builders/travis/build.sh
script:
- pwd
- cd build
- CTEST_OUTPUT_ON_FAILURE=1 make test
notifications:
email:
on_success: change
on_failure: always