1066: fix travis for documentation build r=CarloLucibello a=johnnychen94

The previous build doesn't trigger the documentation stage because the matrix doesn't get expanded for the sole job.

Not very clear how Travis reads the config but this change fixes the issue.

😕 weird that it doesn't allow failures on nightly here... The one in my fork works as expected. https://github.com/johnnychen94/Flux.jl/runs/479502998

cc: @CarloLucibello

Co-authored-by: Johnny Chen <johnnychen94@hotmail.com>
This commit is contained in:
bors[bot] 2020-03-02 12:29:20 +00:00 committed by GitHub
commit ddab979ea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -9,9 +9,8 @@ julia:
- 1.3 - 1.3
- nightly - nightly
matrix: notifications:
allow_failures: email: false
- julia: nightly
jobs: jobs:
include: include:
@ -24,6 +23,9 @@ jobs:
- julia --project=docs/ docs/make.jl - julia --project=docs/ docs/make.jl
after_success: skip after_success: skip
allow_failures:
- julia: nightly
## uncomment the following lines to override the default test script ## uncomment the following lines to override the default test script
script: script:
- julia --color=yes -e 'using Pkg; Pkg.activate(); Pkg.instantiate(); Pkg.test()' - julia --color=yes -e 'using Pkg; Pkg.activate(); Pkg.instantiate(); Pkg.test()'