-
Notifications
You must be signed in to change notification settings - Fork 18
/
.travis.yml
46 lines (40 loc) · 891 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
40
41
42
43
44
45
46
# safelist
branches:
only:
- lensitdev
language: python
dist: xenial # required for Python >= 3.7
git:
depth: false
matrix:
include:
- name: "GCC6"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gfortran-6
env:
- GCC_VERSION="6"
- CHANNEL="defaults"
python: "2.7"
- name: "GCC9"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gfortran-9
env:
- GCC_VERSION="9"
- CHANNEL="conda-forge"
python: "3.6"
install:
- mkdir -p gfortran-symlinks
- ln -s /usr/bin/gfortran-$GCC_VERSION gfortran-symlinks/gfortran
- export PATH=$PWD/gfortran-symlinks:$PATH
- export LENSIT=$PWD
- gfortran --version
- pip install -e .
script: pytest --ignore=./scripts --ignore=./lensit