-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
38 lines (38 loc) · 934 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
addons:
apt:
packages:
- libnetcdf-dev
- libhdf5-dev
- netcdf-bin
language: python
python:
# - "2.6"
- "2.7"
# - "3.2"
# - "3.3"
# - "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "3.6"
- "3.6-dev" # 3.6 development branch
# - "3.7-dev" # 3.7 development branch
# - "nightly" # currently points to 3.7-dev
# command to install dependencies
install:
- pip install -r requirements.txt
- python setup.py install
# install cdo fresh
- wget https://code.mpimet.mpg.de/attachments/download/14686/cdo-1.8.2.tar.gz
- mkdir cdo-files
- tar -xzvf cdo-1.8.2.tar.gz -C cdo-files --strip-components 1
- pushd cdo-files
- ./configure --enable-netcdf4 --enable-zlib --with-netcdf=/usr/ --with-hdf5=/usr/
- make
- sudo make install
- pushd
# command to run tests
script:
- coverage run --source xsuite -m py.test
after_success:
- coverage report
- coveralls