Skip to content

Commit

Permalink
Merge pull request #8 from JuliaRobotics/maintenance/fix001
Browse files Browse the repository at this point in the history
Fix travis for tagging
  • Loading branch information
dehann authored Jun 30, 2018
2 parents 3c53ec4 + 21b8db9 commit 83621f2
Showing 1 changed file with 17 additions and 23 deletions.
40 changes: 17 additions & 23 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
language: julia
dist: trusty
sudo: required
sudo: true
os:
- linux
- osx
matrix:
include:
- os: linux
Expand All @@ -16,31 +15,26 @@ matrix:
- os: linux
julia: nightly
env: DIRECTOR_BUILD_FROM_SOURCE=1
- os: osx
julia: 0.6

allow_failures:
- julia: nightly

addons:
apt:
packages:
# https://stackoverflow.com/a/34549360:
- xorg
- xvfb
- dbus-x11
- xfonts-100dpi
- xfonts-75dpi
- xfonts-cyrillic
# director python deps:
- python-dev
- python-lxml
- python-numpy
- python-scipy
- python-yaml
# required for ImageView
- xauth
- libgtk-3-0
- xorg
- xvfb
- dbus-x11
- xfonts-100dpi
- xfonts-75dpi
- xfonts-cyrillic
- python-dev
- python-lxml
- python-numpy
- python-scipy
- python-yaml
- xauth
- libgtk-3-0

# Build script copied from DrakeVisualizer -- probably not required here, but an transmitting the package requirements for clarity
before_script:
Expand All @@ -55,11 +49,11 @@ before_script:

script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone(pwd()); Pkg.build("DrakeVisualizer")'
- julia -e 'Pkg.clone(pwd()); Pkg.build("DrakeVisualizer"); Pkg.build("ImageView")'
# use xvfb on Linux:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then xvfb-run -a -s "-screen 0 1024x768x24" -e /dev/stdout julia -e 'Pkg.test("DrakeVisualizer"; coverage=true)'; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then xvfb-run -a -s "-screen 0 1024x768x24" -e /dev/stdout julia -e 'Pkg.test("Arena"; coverage=true)'; fi
# just run regularly on OSX:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then julia -e 'Pkg.test("DrakeVisualizer"; coverage=true)'; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then julia -e 'Pkg.test("Arena"; coverage=true)'; fi

notifications:
email: false
Expand Down

0 comments on commit 83621f2

Please sign in to comment.