Skip to content

Commit

Permalink
Simplify travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
davidanthoff committed Apr 28, 2019
1 parent b948eae commit bc21868
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
language: julia
sudo: required
os:
- linux
- osx
julia:
- 1.0
- 1.1
- nightly
dist: xenial
services:
- xvfb
addons:
apt:
packages:
- libgconf-2-4
notifications:
email: false
branches:
Expand All @@ -17,16 +23,6 @@ branches:
matrix:
allow_failures:
- julia: nightly
addons:
apt:
packages:
- xvfb
- xauth
- libgtk-3-0
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- if [[ `uname` = "Linux" ]]; then TESTCMD="xvfb-run julia"; else TESTCMD="julia"; fi
- $TESTCMD --check-bounds=yes -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("VegaLite"); Pkg.test("VegaLite", coverage=true)'
after_success:
- julia -e 'using Pkg; cd(Pkg.dir("VegaLite")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
- julia -e 'using Pkg; cd(Pkg.dir("VegaLite")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())'
Expand Down

0 comments on commit bc21868

Please sign in to comment.