Skip to content

Commit

Permalink
Restrict documentation and converage report generation to Linux Builds
Browse files Browse the repository at this point in the history
  • Loading branch information
duncaneddy committed Feb 2, 2020
1 parent 46f6c92 commit fc3c32a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ script:
# But limit deployment to the linux worker so this is done only once.
after_success:
# Install required packages for coverage and documentation
- julia --project -e 'import Pkg; Pkg.add("Coverage");'
- julia --project -e 'import Pkg; Pkg.add("Documenter"); Pkg.add("DocumenterTools");'
- julia --project -e 'import Pkg; Pkg.add("Plots");'
- julia --project -e 'import Pkg; Pkg.add("LaTeXStrings");'
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; julia --project -e 'import Pkg; Pkg.add("Coverage");'
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; julia --project -e 'import Pkg; Pkg.add("Documenter"); Pkg.add("DocumenterTools");'
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; julia --project -e 'import Pkg; Pkg.add("Plots");'
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; julia --project -e 'import Pkg; Pkg.add("LaTeXStrings");'

# Submit test coverage report
- julia --project -e 'using Coverage; Coveralls.submit(Coveralls.process_folder())'
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; julia --project -e 'using Coverage; Coveralls.submit(Coveralls.process_folder())'

# Build and deploy documentation
- julia --project ./docs/make.jl
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; julia --project ./docs/make.jl

0 comments on commit fc3c32a

Please sign in to comment.