Skip to content

Commit

Permalink
Merge pull request #1224 from mortenpi/fail-travis-on-failure
Browse files Browse the repository at this point in the history
Use -e option instead of heredoc in CI doc stage
  • Loading branch information
bjarthur committed Nov 19, 2018
2 parents 1ba42cd + 530be32 commit 7c6e899
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ jobs:
- stage: "Documentation"
julia: 1.0
os: linux
# disable global before_script in order not to install Compose twice
before_script:
script:
- |
julia --color=yes --project=docs/ <<EOF
julia --color=yes --project=docs/ -e'
using Pkg
Pkg.add(PackageSpec(name="Compose", rev="master"))
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
include("docs/make.jl")
EOF
'
after_success: skip

0 comments on commit 7c6e899

Please sign in to comment.