This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.travis.yml
45 lines (42 loc) · 1.71 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
34
35
36
37
38
39
40
41
42
43
44
45
## Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
dist: bionic
julia:
- 1
notifications:
email: false
git:
depth: 99999999
sudo: required
addons:
apt:
update: true
packages:
- libgtk-3-dev
- libavcodec-extra
- python3-matplotlib
script:
- git clone https://github.com/JuliaRegistries/General $(julia -e 'import Pkg; println(joinpath(Pkg.depots1(), "registries", "General"))')
- git clone https://github.com/JuliaPOMDP/Registry $(julia -e 'import Pkg; println(joinpath(Pkg.depots1(), "registries", "JuliaPOMDP"))')
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- travis_wait 30 julia --project --color=yes --check-bounds=yes -e 'import Pkg; Pkg.build("POMDPGallery"); Pkg.test("POMDPGallery", coverage=true)'
## uncomment the following lines to allow failures on nightly julia
## (tests will run but not make your overall status red)
#matrix:
# allow_failures:
# - julia: nightly
## uncomment and modify the following lines to manually install system packages
#addons:
# apt: # apt-get for linux
# packages:
# - gfortran
#before_script: # homebrew for mac
# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi
## uncomment the following lines to override the default test script
#script:
# - julia -e 'Pkg.clone(pwd()); Pkg.build("POMDPGallery"); Pkg.test("POMDPGallery"; coverage=true)'
# after_success:
# # push coverage results to Coveralls
# - julia -e 'cd(Pkg.dir("POMDPGallery")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# # push coverage results to Codecov
# - julia -e 'cd(Pkg.dir("POMDPGallery")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'