-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.travis.yml
35 lines (28 loc) · 944 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
language: C
install:
- travis_wait 30 ./setup/travis_install.sh lsst-sims nose pandas pylint future scikit-learn
- 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
- pip install om10
- 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 -r n --py3k `find . -name \*.py -print | grep -v workflows | grep -v configScripts`
after_success:
- coveralls