-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (25 loc) · 1.53 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
language: python
sudo: true
dist: xenial
python:
- "3.6"
cache: pip
install:
- pip install pytest
- pip install pytest-cov
- pip install coveralls
- pip install -q -r requirements.txt
# try to capture output https://pypi.org/project/pytest-travis-fold/
- pip install pytest-travis-fold
script:
- pytest lstm_reward_function/tests --cov=lstm_reward_function/ --cov-append
- travis_wait 60 pytest experiments/world-models_reproduce/tests/test_gmm.py --cov=experiments/world-models_reproduce/ --cov-append
- pytest experiments/hyper_opt/hyper_opt_exp.py --cov=experiments/hyper_opt/ --cov-append
- travis_wait 60 pytest action_state_generation/tests/test_online_train.py::test_online_train_dqn_gridworld --cov=action_state_generation/ --cov-append
- travis_wait 60 pytest action_state_generation/tests/test_online_train.py::test_online_train_lstm_gridworld --cov=action_state_generation/ --cov-append
- travis_wait 60 pytest action_state_generation/tests/test_online_train.py::test_online_train_lstm_rnn_gridworld --cov=action_state_generation/ --cov-append
- travis_wait 60 pytest action_state_generation/tests/test_online_train.py::test_online_train_dqn_rnn_gridworld --cov=action_state_generation/ --cov-append
- travis_wait 60 pytest action_state_generation/tests/test_online_train.py::test_online_train_dqn_cartpole --cov=action_state_generation/ --cov-append
- travis_wait 60 pytest action_state_generation/tests/test_online_train.py::test_online_train_dqn_lunar --cov=action_state_generation/ --cov-append
after_success:
- coveralls