-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
28 lines (25 loc) · 801 Bytes
/
.travis.yml
File metadata and controls
28 lines (25 loc) · 801 Bytes
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
language: C
install:
- CHANNEL=http://conda.lsst.codes/sims
- travis_wait 20 ./install.sh lsst-sims
- export PATH="$HOME/miniconda/bin:$PATH"
- source eups-setups.sh
- setup lsst_sims
- conda install -c anaconda pandas
- conda install -c openastronomy healpy
- pip install python-coveralls
- pip install coveralls
- pip install coverage
cache:
directories:
- $HOME/miniconda.tarball
# A trivial example to show that this worked
script:
- export PATH="$HOME/miniconda/bin:$PATH"
- source eups-setups.sh
- setup lsst_sims
- python setup.py install
- nosetests -v --with-coverage --cover-erase --cover-tests --cover-package=obscond --cover-inclusive --cover-html --cover-html-dir=doc/coverage
- nosetests --with-doctest -v -w obscond
after_success:
- coveralls