From 65a36948c0bff2889c6e6ed88a153ae666a1acbe Mon Sep 17 00:00:00 2001 From: Dave Johnson Date: Thu, 3 Aug 2017 08:33:53 -0700 Subject: [PATCH] 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 --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index babaaa3d56..515abf734f 100644 --- a/.travis.yml +++ b/.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"