1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-01-29 11:57:58 +01:00
Grbl_Esp32/.travis.yml

39 lines
1.5 KiB
YAML
Raw Normal View History

sudo: false
language: bash
os:
- linux
cache:
directories:
- "~/.platformio"
install:
- pip install --user -U pip
- pip install --user -U platformio
before_script:
- cd $TRAVIS_BUILD_DIR
- chmod +x *.sh *.py
script:
- cd $TRAVIS_BUILD_DIR
- 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
- 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
- sed -n '118,136p;137q' $TRAVIS_BUILD_DIR/Grbl_Esp32/config.h
- PLATFORMIO_BUILD_FLAGS=-DMACHINE_FILENAME=test_drive.h platformio run
- 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
- sed -n '118,136p;137q' $TRAVIS_BUILD_DIR/Grbl_Esp32/config.h
- ./build-all.sh
notifications:
email:
on_success: change
on_failure: change