-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (41 loc) · 1.7 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
# Continuous Integration (CI) is the practice, in software
# engineering, of merging all developer working copies with a shared mainline
# several times a day < https://docs.platformio.org/page/ci/index.html >
#
# Template #1: General project. Test it using existing `platformio.ini`.
#
git:
submodules: false
before-install:
# - echo -e "\n\nmachine github.com\n 15cedd772e716ca79d7736b194f68aed4e70d903 \n" > ~/.netrc
- sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
- touch code/fusebox/design_software/include/wifi_secure.h
- echo "const char* ssid = \"fake_ssid\"; const char* password = \"fake_pwd\";" > code/fusebox/design_software/include/wifi_secure.h
- touch code/laser/include/wifi_secure.h
- echo "const char* ssid = \"fake_ssid\"; const char* password = \"fake_pwd\";" > code/laser/include/wifi_secure.h
- touch code/push_button/include/wifi_secure.h
- echo "const char* ssid = \"fake_ssid\"; const char* password = \"fake_pwd\";" > code/push_button/include/wifi_secure.h
- touch code/robot/robotESP/include/wifi_secure.h
- echo "const char* ssid = \"fake_ssid\"; const char* password = \"fake_pwd\";" > code/robot/robotESP/include/wifi_secure.h
env:
- TEST_DIR=code/fusebox/design_software
- TEST_DIR=code/laser
- TEST_DIR=code/push_button
- TEST_DIR=code/robot/robotESP
- TEST_DIR=code/robot/robotPS2
language: python
python:
- "2.7"
sudo: false
cache:
directories:
- "~/.platformio"
install:
- pip install -U platformio
- platformio update
script:
- cd $TEST_DIR
- platformio run
notifications:
slack: ubilab-escape:Afsqn7M0eOFYD7lG2qzgNr1g