-
Notifications
You must be signed in to change notification settings - Fork 230
/
.travis.yml
44 lines (34 loc) · 1.28 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
# Tests with linux/osx, no gpu.
language: julia
os:
- linux
- osx
julia:
- 1.6
- nightly
notifications:
email: false
jobs:
include:
- stage: "Documentation"
julia: 1.6
os: linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.build("Knet"); Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip
allow_failures:
- julia: nightly
# after_success:
# - julia -e 'using Pkg; Pkg.add("Documenter"); using Knet, Documenter; cd(Knet.dir("docs")); include("make.jl")'
# Do coverage in gitlab:
# - julia -e 'using Pkg; Pkg.add("Coverage"); using Knet, Coverage; cd(Knet.dir()); Codecov.submit(process_folder()); Coveralls.submit(process_folder())'
## uncomment to test with the latest AutoGrad
# before_script:
# - julia -e 'Pkg.add("AutoGrad"); Pkg.checkout("AutoGrad")'
## uncomment the following lines to override the default test script
#script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("Knet"); Pkg.test("Knet"; coverage=true)'
## https://docs.travis-ci.com/user/languages/julia
## If you leave the julia: key out of your .travis.yml, Travis CI will use the most recent release.