Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ccaf2c4

Browse files
committedSep 6, 2018
Updated to 1.3.0
2 parents c4a6fe8 + 740d316 commit ccaf2c4

File tree

301 files changed

+49639
-6156
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

301 files changed

+49639
-6156
lines changed
 

‎.travis.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
language: python
2+
python:
3+
- "3.6"
4+
os:
5+
- linux
6+
matrix:
7+
include:
8+
- env:
9+
- NAME= arduinoCI
10+
- IDE_VERSION=1.8.5
11+
# Use in CI/build/conf/path_config_travis.json
12+
- ARDUINO_IDE_PATH=$HOME/IDE/arduino
13+
install:
14+
# Install Arduino IDE
15+
- mkdir -p $ARDUINO_IDE_PATH
16+
- wget http://downloads.arduino.cc/arduino-$IDE_VERSION-linux64.tar.xz
17+
- tar xf arduino-$IDE_VERSION-linux64.tar.xz --strip-components=1 -C $ARDUINO_IDE_PATH
18+
- rm arduino-$IDE_VERSION-linux64.tar.xz
19+
# Install STM32 core supported by ST
20+
- cd $ARDUINO_IDE_PATH
21+
# Add json packages url to the Arduino IDE
22+
- ./arduino --save-prefs --pref "boardsmanager.additional.urls=https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json"
23+
# Install the latest core version
24+
- ./arduino --install-boards STM32:stm32
25+
- rm -fr $HOME/.arduino15/packages/STM32/hardware/stm32/*
26+
# Replace default core with the one being built
27+
- sudo ln -s $TRAVIS_BUILD_DIR $HOME/.arduino15/packages/STM32/hardware/stm32/*
28+
before_script:
29+
- cd $TRAVIS_BUILD_DIR/CI/build/
30+
- cp ./conf/path_config_travis.json ./path_config.json
31+
script:
32+
- python arduino-builder.py --travis
33+
after_failure:
34+
- echo " The build is failed. If script return a non-zero return status , we suggest you to take the above logs into consideration. Otherwise, consult the TRAVIS CI documentation to learn more about build failure"
35+
notifications:
36+
email:
37+
on_success: always
38+
on_failure: always

‎CI/build/.flake8

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[flake8]
2+
max-line-length = 88

0 commit comments

Comments
 (0)