Skip to content

Commit

Permalink
For travis, use the released SparkFun lib, not a clone (#15)
Browse files Browse the repository at this point in the history
* Change the travis build to use the released SaprkFun lib from the Arduino libraries manager instead of cloning it directly.
  • Loading branch information
easytarget authored May 17, 2021
1 parent 78edb59 commit be55a74
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@ before_script:
- git submodule update --init --recursive
- cd tools
- python get.py
- cd $HOME/arduino_ide/libraries
- git clone https://github.com/sparkfun/SparkFun_VL53L1X_Arduino_Library.git

script:
- cd $TRAVIS_BUILD_DIR
- export PATH="$HOME/arduino_ide:$PATH"
- arduino --board esp32:esp32:esp32:PartitionScheme=min_spiffs,FlashFreq=40 --pref compiler.warning_level=all --save-prefs
- arduino --install-library ArduinoJson
- arduino --install-library "SparkFun VL53L1X 4m Laser Distance Sensor"
- arduino --verbose --verify esp32-cjmcu-531-demo.ino
- cp --preserve --verbose mywifi.sample.h mywifi.h
- arduino --verbose --verify esp32-cjmcu-531-demo.ino
Expand Down

0 comments on commit be55a74

Please sign in to comment.