This repository has been archived by the owner on Aug 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.travis.yml
64 lines (55 loc) · 2.21 KB
/
.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
language: python
sudo: false
dist: trusty
group: edge
python:
- "2.7"
before_install:
- test/setup_gtest.sh
before_script:
- if [ "$TRAVIS_EVENT_TYPE" == "api_DISABLE" ]; then
./update_wakaama.sh;
fi;
- if [ "$TRAVIS_EVENT_TYPE" == "cron_DISABLE" ]; then
./update_wakaama.sh;
fi;
install:
- pip install --upgrade pip > /dev/null
- pio --version > /dev/null 2>&1 || pip install -U platformio > /dev/null
- pip install -U cpp-coveralls
- test/setup_test_network.sh || echo "Network bridge setup failed!"
after_success: test/teardown_test_network.sh || echo ""
after_failure: test/teardown_test_network.sh || echo ""
addons:
apt:
sources:
- sourceline: ppa:george-edison55/cmake-3.x
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- g++-6
- gcc-6
- clang-3.6
- libunwind8-dev
- libgtest-dev
- cmake
# - SCRIPT=examples/arduino_example/build.sh BOARD=arduino:avr:mega:cpu=atmega1280 VERSION=1.8.3
env:
global:
- GTEST_DIR=~/gtest
- secure=fNOM2LUil0pumVEIzZ15MNmJUIyyYNPzlDmEpPQms9rG7UbnwC5LkJLKjOrGvrYBqCdBDYEVx/kbev8/RjPn2SivcdNRo4CVVWudr1rF6/Bi+9f+KSisRJbb8UDH91NGheLv3v6fzdTKrYMlMPpFzUONsBWKIf65+UDe8Px+BgL3lWzx3BISyPtSZoGarKmAwOZWVdpDEKeteJzQrPxxLSkdf9p+z0vz7NQR80rPaDcgz4Mh/AwbJl6o+4rQ+XZb8HibTPpfZBX32WAHA9JgBwlxDnHfcdsfcUypxlo+ocp4OM/rd7XqSxxqwHBPTMULDdhmptPdMiZh8U73GxNx9gBrrAgsH6RDpMMjbYhPL7Xq02Czbamg1/LJGmKvOtba9fADZeZEgldz09eWsrIbIDoNg6FB37FiBe4Q1W5s/Bg3uojp9ZoiecyQjcqNTN5osiJpWUj70z0kOm1DXWnPNhhYD2C5iJwAj+YomI1jOAGnhtm2zBmG3NinDTOuVNwC+JTO/TTimo6lAHIccoVhwBj+wRdMVc1dmElbYJA6OxTkj3d3Vhwfj/ODXY7w1CN80KKfbjRwMGbk0Bdh9qpnHYEtKeKEidr6IsY3m0/+RHFOu2yqbo1jv5MjwkV3TsymLqwW4ykuslDtLE/pNkmEYkPy2fKsA+emwwkYz2q0V2g=
matrix:
- SCRIPT="test/testall.sh CMAKE_CXX_COMPILER=g++-6 CMAKE_C_COMPILER=gcc-6"
- SCRIPT="test/testall.sh CMAKE_CXX_COMPILER=clang++-3.6 CMAKE_C_COMPILER=clang-3.6"
- SCRIPT="pio run -d examples/nodemcu_with_led/platformio.ini"
- SCRIPT="pio run -d examples/linux_win_custom_object_c/platformio.ini"
- SCRIPT="pio run -d examples/linux_win_screen_control/platformio.ini"
script: ${SCRIPT}
matrix:
fast_finish: false
cache:
apt: true
directories:
- "~/.platformio"
- "~/arduino"
- "~/gtest"