-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.travis.yml
52 lines (44 loc) · 1.18 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
sudo: false
dist: trusty
language: cpp
#compiler:
# - gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- gfortran-5
- liblapack-dev
git:
depth: 1
env:
global:
- MAKEFLAGS="-j 10"
before_script:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda update --yes conda
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- conda install --yes python=$TRAVIS_PYTHON_VERSION pip numpy scipy pandas matplotlib
- pip install git+https://github.com/modflowpy/flopy.git@develop
- pip install git+https://github.com/jtwhite79/pyemu.git@develop
- export PYTHONPATH=$PYTHONPATH:.
script:
- cd src
- rm -r -f ../exe/linux/
- make clean
- COMPILER=gcc5 CXX=g++-5 FC=gfortran-5 STATIC=no make -j 10 install
- cd ..
- cd benchmarks
- export PATH="./test_bin:../test_bin:../../test_bin:$PATH"
- python travis_tests.py
# after_success:
# - cd benchmarks
# - export PATH="./test_bin:../test_bin:../../test_bin:$PATH"
# - python travis_tests.py
notifications:
email: true