-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
59 lines (48 loc) · 1.79 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
53
54
55
56
57
58
59
language: python
python:
- 3.6
dist: bionic
branches:
only:
- main
- development
branches:
only:
- main
- development
install:
- sudo apt-get update -y
- sudo apt-get install -y libfftw3-dev libgfortran3 gcc wget
# set up conda
- wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- export NUMBA_DISABLE_JIT=1
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# - conda config --add channels pkgw-forge
- conda config --add channels conda-forge
- conda config --set channel_priority strict
# install with conda and pip
- conda create -n conda pip
- source activate conda
# - conda install -q python=$TRAVIS_PYTHON_VERSION numpy scipy cython bokeh matplotlib numba astropy pytest setuptools coverage pyfftw
# - numpy scipy jupyter bokeh cython matplotlib numba astropy pytest setuptools coverage pyfftw
- conda install -q python=$TRAVIS_PYTHON_VERSION numpy scipy jupyter bokeh cython matplotlib numba astropy pytest setuptools coverage pyfftw hdf5
# - conda install -q python=$TRAVIS_PYTHON_VERSION pwkit casa-tools casa-python casa-data
# - pip install --extra-index-url https://casa-pip.nrao.edu:443/repository/pypi-group/simple casatools
- pip install --index-url https://casa-pip.nrao.edu/repository/pypi-casa-release/simple casatools==6.0.0.27
- pip install codecov
- python setup.py install
before_script:
- git config --global user.email "[email protected]"
- git config --global user.name "Travis-CI"
script:
- coverage run --source rfpipe -m py.test
after_success:
- coverage report
- codecov
notifications:
email: false
slack: realfastvla:ID1qIFG70HGYf3G6Y3oWoFFk