瀏覽代碼

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 年之前
父節點
當前提交
d5e5735679
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3
    2
      .travis.yml

+ 3
- 2
.travis.yml 查看文件

@@ -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…
取消
儲存