Переглянути джерело

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
Dave Johnson 7 роки тому
джерело
коміт
65a36948c0
1 змінених файлів з 3 додано та 2 видалено
  1. 3
    2
      .travis.yml

+ 3
- 2
.travis.yml Переглянути файл

1
-dist: precise
1
+dist: trusty
2
+sudo: true 
2
   #
3
   #
3
 language: c
4
 language: c
4
   #
5
   #
12
   #
13
   #
13
   # Publish the buildroot script folder
14
   # Publish the buildroot script folder
14
   - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
15
   - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
15
-  - ln -s ${TRAVIS_BUILD_DIR}/buildroot/bin/ ~/bin
16
+  - export PATH=${TRAVIS_BUILD_DIR}/buildroot/bin/:${PATH}
16
   #
17
   #
17
   # Start fb X server
18
   # Start fb X server
18
   - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
19
   - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"

Завантаження…
Відмінити
Зберегти