forked from drphilmarshall/Twinkles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (28 loc) · 892 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
language: C
install:
- travis_wait 25 ./setup/travis_install.sh lsst-sims nose pandas pylint
- ln -sf /home/travis/miniconda/lib/libssl.so.1.0.0 /home/travis/miniconda/lib/libssl.so.10
- ln -sf /home/travis/miniconda/lib/libcrypto.so.1.0.0 /home/travis/miniconda/lib/libcrypto.so.10
- export PATH="$HOME/miniconda/bin:$PATH"
- source eups-setups.sh
- pip install coveralls
- setup lsst_sims
- eups declare -r . twinkles -t current
- setup twinkles
cache:
directories:
- $HOME/miniconda.tarball
timeout: 600
before_cache:
- du -h $HOME/miniconda.tarball
- ls -l $HOME/miniconda.tarball
services:
- mysql
before_script:
- mysql -e 'create database myapp_test'
- mysql -e 'show databases;'
script:
- nosetests -s --with-coverage --cover-package=desc.twinkles
- pylint --py3k `find . -name \*.py -print | grep -v workflows`
after_success:
- coveralls