forked from ThrowTheSwitch/Ceedling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
25 lines (20 loc) · 1001 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
sudo: required
language: ruby c
os:
- osx
- linux
rvm:
- "2.3"
- "2.4"
- "2.6"
before_install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo pip install gcovr; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then pip2 install gcovr; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq && sudo apt-get install --assume-yes --quiet gcc-multilib && sudo apt-get install -qq gcc-avr binutils-avr avr-libc; fi
install:
- gem update bundler
- bundle install
script:
- bundle exec rake ci
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then mkdir examples/blinky/vendor && cd examples/blinky/vendor && ln -s ../../.. ./ceedling && cd .. && rake module:create[someNewModule] module:destroy[someNewModule] test:all && cd ../..; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then mkdir examples/temp_sensor/vendor && cd examples/temp_sensor/vendor && ln -s ../../.. ./ceedling && cd .. && rake module:create[someNewModule] module:destroy[someNewModule] test:all && cd ../..; fi