Browse Source

Support travis new build environment (#7425)

move from legacy precise to trusty build image
fix PATH not including buildroot/bin
remove symolic link to ~/bin
enable sudo

trusty travis image doesn't source ~/bin by default
avr requires sude
pull/1/head
Dave Johnson 8 years ago
committed by Roxy-3D
parent
commit
65a36948c0
  1. 5
      .travis.yml

5
.travis.yml

@ -1,4 +1,5 @@
dist: precise
dist: trusty
sudo: true
#
language: c
#
@ -12,7 +13,7 @@ before_install:
#
# Publish the buildroot script folder
- chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
- ln -s ${TRAVIS_BUILD_DIR}/buildroot/bin/ ~/bin
- export PATH=${TRAVIS_BUILD_DIR}/buildroot/bin/:${PATH}
#
# Start fb X server
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"

Loading…
Cancel
Save