-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
33 lines (32 loc) · 1.18 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
32
33
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
sudo: required
os:
- linux
julia:
- release
notifications:
email: true
# uncomment the following lines to override the default test script
# settings from PyCall.jl
env:
global:
- PYCALL_DEBUG_BUILD="yes"
matrix:
- PYTHON=python # python 2.7
- PYTHON=Conda-python # not actually a python version, here to test Conda.jl's python
before_install:
- sudo apt-get install python python-setuptools python-dev python-augeas gcc swig dialog
- test "x$TRAVIS_OS_NAME" = xosx -o "x$PYTHON" = xConda-python || (sudo apt-get -qq update && sudo apt-get install -y $PYTHON)
- pip install --user --upgrade pip
- export PATH=$HOME/.local/bin:$PATH
script:
- git clone https://github.com/openai/gym
- cd gym
- pip install --user -e '.[all]'
- export PATH=$HOME/.local/bin:$PATH
- cd ..
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone(pwd()); Pkg.build("ReinforcementLearning"); Pkg.test("ReinforcementLearning"; coverage=true)'
after_success:
- julia -e 'cd(Pkg.dir("ReinforcementLearning")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())'