Browse Source

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
Dave Johnson 6 years ago
parent
commit
d5e5735679
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      .travis.yml

+ 3
- 2
.travis.yml View File

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

Loading…
Cancel
Save