2018-09-21 15:57:19 -05:00
|
|
|
sudo: false
|
|
|
|
language: bash
|
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
2020-03-22 21:58:31 +09:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- "~/.platformio"
|
|
|
|
|
|
|
|
install:
|
|
|
|
- pip install --user -U pip
|
|
|
|
- pip install --user -U platformio
|
|
|
|
|
2018-09-21 15:57:19 -05:00
|
|
|
before_script:
|
2020-03-22 21:58:31 +09:00
|
|
|
- cd $TRAVIS_BUILD_DIR
|
|
|
|
- chmod +x *.sh *.py
|
2018-09-21 15:57:19 -05:00
|
|
|
script:
|
|
|
|
- cd $TRAVIS_BUILD_DIR
|
2020-03-22 21:58:31 +09:00
|
|
|
- sed -n '118,136p;137q' $TRAVIS_BUILD_DIR/Grbl_Esp32/config.h
|
2018-11-10 15:33:04 -06:00
|
|
|
- sed -i "s/\/\/#define ENABLE_BLUETOOTH/#define ENABLE_BLUETOOTH/g" $TRAVIS_BUILD_DIR/Grbl_Esp32/config.h
|
|
|
|
- sed -i "s/#define ENABLE_BLUETOOTH/\/\/#define ENABLE_BLUETOOTH/g" $TRAVIS_BUILD_DIR/Grbl_Esp32/config.h
|
|
|
|
- sed -i "s/\/\/#define ENABLE_WIFI/#define ENABLE_WIFI/g" $TRAVIS_BUILD_DIR/Grbl_Esp32/config.h
|
2020-03-22 21:58:31 +09:00
|
|
|
- sed -n '118,136p;137q' $TRAVIS_BUILD_DIR/Grbl_Esp32/config.h
|
|
|
|
- PLATFORMIO_BUILD_FLAGS=-DMACHINE_FILENAME=test_drive.h platformio run
|
2018-11-10 15:33:04 -06:00
|
|
|
- sed -i "s/\/\/#define ENABLE_BLUETOOTH/#define ENABLE_BLUETOOTH/g" $TRAVIS_BUILD_DIR/Grbl_Esp32/config.h
|
|
|
|
- sed -i "s/#define ENABLE_WIFI/\/\/#define ENABLE_WIFI/g" $TRAVIS_BUILD_DIR/Grbl_Esp32/config.h
|
2020-03-22 21:58:31 +09:00
|
|
|
- sed -n '118,136p;137q' $TRAVIS_BUILD_DIR/Grbl_Esp32/config.h
|
|
|
|
- PLATFORMIO_BUILD_FLAGS=-DMACHINE_FILENAME=test_drive.h platformio run
|
2019-05-06 10:08:29 +09:00
|
|
|
- sed -i "s/\/\/#define ENABLE_BLUETOOTH/#define ENABLE_BLUETOOTH/g" $TRAVIS_BUILD_DIR/Grbl_Esp32/config.h
|
|
|
|
- sed -i "s/\/\/#define ENABLE_WIFI/#define ENABLE_WIFI/g" $TRAVIS_BUILD_DIR/Grbl_Esp32/config.h
|
2020-03-22 21:58:31 +09:00
|
|
|
- sed -n '118,136p;137q' $TRAVIS_BUILD_DIR/Grbl_Esp32/config.h
|
|
|
|
- ./build-all.sh
|
2019-05-06 10:08:29 +09:00
|
|
|
|
2018-09-21 15:57:19 -05:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|