forked from spine-tools/SpineOpt.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (39 loc) · 1.45 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
## Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
codecov: true
coveralls: true
os:
- linux
# - osx
julia:
- 1.4
notifications:
email: false
git:
depth: 99999999
## 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
env: PYTHON=3.6
dist: xenial
## uncomment and modify the following lines to manually install system packages
addons:
apt: # apt-get for linux
update: true
sources:
- deadsnakes
packages:
- python3.6
- python3-pip
before_script: # homebrew for mac
- julia --project=docs/ -e 'using Pkg; pkg"registry add https://github.com/Spine-project/SpineJuliaRegistry"; pkg"registry add General"'
script:
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
#- julia --project=docs/ -e "using PyCall; run(`$(PyCall.pyprogramname) -m pip install --user 'git+https://github.com/Spine-project/Spine-Database-API'`)"
- /home/travis/.julia/conda/3/bin/python -m pip install --user 'git+https://github.com/Spine-project/Spine-Database-API'
- julia --project=docs/ --color=yes docs/make.jl
after_success:
- julia -e 'using Pkg; Pkg.test("SpineOpt", coverage=true)'
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder()); Coveralls.submit(process_folder())'