-
Notifications
You must be signed in to change notification settings - Fork 38
/
this_was_the.travis.yml
31 lines (28 loc) · 920 Bytes
/
this_was_the.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
language: python
python:
- "3.6"
- "3.7"
# command to install dependencies
install:
- sudo apt-get update -qq
- sudo apt-get install -qq libhdf5-serial-dev
- pip install --upgrade pip setuptools wheel
- pip install --only-binary=numpy,scipy numpy scipy
- pip install h5py --only-binary=h5py
- pip install git+https://github.com/ucberkeleyseti/blimpy
- pip install -r requirements.txt
- pip install -r requirements_test.txt
- pip install .
# Command to run test
script:
# Ping stdout every 5 minutes or Travis kills build,
# while travis_wait does not show the command output while processing.
# https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received
- |
while sleep 5m; do
echo "====[ $SECONDS seconds still running ]===="
done &
- cd test; python download_test_data.py; ./run_tests.sh;
branches:
only:
- master