-
Notifications
You must be signed in to change notification settings - Fork 21
/
.travis.yml
31 lines (29 loc) · 1.54 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
26
27
28
29
30
31
language: python
python:
- "3.6"
# command to install dependencies
install:
- git clone https://github.com/$TRAVIS_REPO_SLUG.git ~/$TRAVIS_REPO_SLUG
- cd ~/$TRAVIS_REPO_SLUG
- git checkout $TRAVIS_BRANCH
- git pull
- sh setup.sh
# command to run tests
script:
- cd ~/$TRAVIS_REPO_SLUG/;
- python3 train.py --sys local --hparams dqn_cartpole --output_dir dqn_cartpole --train_steps 200;
- python3 train.py --sys local --hparams vpg_cartpole --output_dir vpg_cartpole --train_steps 200;
- python3 train.py --sys local --hparams ppo_cartpole --output_dir ppo_cartpole --train_steps 200;
- python3 train.py --sys local --hparams ddpg_cartpole --output_dir ddpg_cartpole --train_steps 200;
- python3 train.py --sys local --hparams dqn_cartpole --output_dir dqn_cartpole_4workers --train_steps 200 --num_workers 4;
- python3 train.py --sys local --hparams ppo_cartpole --output_dir ppo_cartpole_4workers --train_steps 200 --num_workers 4;
- python3 train.py --sys local --hparams ddpg_cartpole --output_dir ddpg_cartpole_4workers --train_steps 200 --num_workers 4;
- python3 train.py --sys local --hparams ddpg_coinrun --output_dir ddpg_coinrun --train_steps 200;
- python3 train.py --sys local --hparams ppo_pong --output_dir ppo_pong --train_steps 200;
- export PYTHONPATH=${PYTHONPATH}:.;
- python3 tests/models/basic_test.py;
- python3 tests/models/ddpg_test.py;
- python3 tests/models/noisy_network_test.py;
- python3 tests/models/ppo_test.py;
- python3 tests/memory/prioritized_test.py;
- python3 tests/memory/simple_test.py;