Support travis new "trusty" build environment

move from legacy precise to trusty build image
fix PATH not including buildroot/bin
remove symolic link to ~/bin as trusty travis image doesn't include it in PATH anyway
This commit is contained in:
Dave Johnson 2017-08-03 08:45:11 -07:00 committed by Scott Lahteine
parent 8f5a576b08
commit d5e5735679

View file

@ -1,4 +1,5 @@
dist: precise dist: trusty
sudo: false
language: python language: python
python: python:
@ -24,7 +25,7 @@ before_install:
# #
# Publish the buildroot script folder # Publish the buildroot script folder
- chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/* - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
- ln -s ${TRAVIS_BUILD_DIR}/buildroot/bin/ ~/bin - export PATH=${TRAVIS_BUILD_DIR}/buildroot/bin/:${PATH}
install: install:
- pip install -U platformio - pip install -U platformio