forked from simpeg-research/Astic-2019-PGI
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
39 lines (33 loc) · 776 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
37
38
39
language: generic
#language: python
#python:
#- 3.6
#- "nightly"
#matrix:
# allow_failures:
# - python: "nightly"
sudo: false
addons:
apt:
packages:
- gcc
- gfortran
- libblas-dev
- liblapack-dev
env:
- TEST_DIR=tests/MT
- TEST_DIR=tests/DC
- TEST_DIR=tests/FDEM
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- chmod +x miniconda.sh
- ./miniconda.sh -b -p $HOME/miniconda
- export PATH=$HOME/anaconda/bin:$HOME/miniconda/bin:$PATH
- conda update --yes conda
install:
- conda env create -f environment.yml
- source activate pgi-environment
- export MPLBACKEND="agg"
- pip install -r requirements_dev.txt
script:
- travis_wait 120 nosetests $TEST_DIR -v -s