-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (35 loc) · 1.5 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
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
dist: bionic
julia:
- 1.4
notifications:
email: false
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y python3-pip ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install python3-setuptools ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then python3 -m pip install --user numpy ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then python3 -m pip install --user scikit-learn ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then python3 -m pip install --user sklearn ; fi
after_success:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())'
jobs:
include:
- stage: "Documentation"
julia: 1.4
os: linux
script:
- julia -e 'using Pkg; Pkg.add("Documenter")'
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip
allow_failures:
- julia: nightly
fast_finish: true
script:
- julia -e 'using Pkg; Pkg.activate("."); Pkg.build(); Pkg.test(coverage=true)'