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
This commit is contained in:
parent
c6509076c4
commit
65a36948c0
|
@ -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…
Reference in a new issue