-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
60 lines (46 loc) · 2.58 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.5'
- '3.6'
os:
- linux
# - osx
branches:
only:
- master
- refactor_logging
before_install:
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
MINICONDA=https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh;
else
MINICONDA=https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh;
fi
install:
- sudo apt-get update
# Here we install Anaconda to work with Virtual Environments.
- wget $MINICONDA -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
# Adding AstroConda Channel since it contains most of the dependencies for Dragons and Dragons-SOAR
- conda config --add channels http://ssb.stsci.edu/astroconda
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
# Create astroconda virtual environment
- conda env create -q python=$TRAVIS_PYTHON_VERSION -f environment.yml
- source activate samfptools
# Install me
- python setup.py test
- python setup.py install
script:
- py.test --ignore=src -v
- coverage run --branch --source= setup.py test
after_success:
- coveralls
#notifications:
# slack:
# secure: dI+wfZ322IFLMmYig0bMqvI6+njzIWksiu1VVHdGqgSM5ygwXasxUOEqfYJCS+yuQAmSUpWYuX8hGcwydD8ds8NinKZgtIzqO3I6o9gSRKBbBu6cUkLiqFJCjkK+br0wpu4J5sPgJAvJimSeMK4U3OVeq8rclCY7HXTmCt/h76NCNwHZmcJosnK5BYkolWUvCv71x47wnZBBi24uazC1dV6upAO4mnL8c7SeV+dpThAR8kftqcqaZQao/kncf9NtGhm3pvsR36P++vNwSmAGj0muOBMWyEXEgq70oKnCGH68uoaVJ8uyjvNqoTw3OY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