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 7 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
-dist: precise
1
+dist: trusty
2
+sudo: false
2
 
3
 
3
 language: python
4
 language: python
4
 python:
5
 python:
24
   #
25
   #
25
   # Publish the buildroot script folder
26
   # Publish the buildroot script folder
26
   - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
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
 install:
30
 install:
30
   - pip install -U platformio
31
   - pip install -U platformio

Loading…
Cancel
Save