mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-04 04:40:39 +08:00
Update .travis.yml
This commit is contained in:
parent
a1a10265fd
commit
1b518e10ea
22
.travis.yml
22
.travis.yml
@ -13,34 +13,20 @@ before_script:
|
||||
- mkdir esp8266com
|
||||
- cd esp8266com
|
||||
- git clone https://github.com/esp8266/Arduino.git esp8266
|
||||
- cd esp8266
|
||||
- git checkout 2.4.0
|
||||
- cd esp8266/tools
|
||||
- python get.py
|
||||
- cd ..
|
||||
- echo 'build.flash_ld=eagle.flash.4m.ld' >> platform.txt
|
||||
- echo 'build.flash_freq=40' >> platform.txt
|
||||
- echo 'build.flash_size=4M' >> platform.txt
|
||||
- echo 'build.flash_mode=dio' >> platform.txt
|
||||
- echo 'build.f_cpu=160000000L' >> platform.txt
|
||||
- sed -i "s/generic.build.f_cpu=80000000L/generic.build.f_cpu=160000000L/g" ./boards.txt
|
||||
- cd $HOME/arduino_ide/hardware
|
||||
- mkdir esp32
|
||||
- cd esp32
|
||||
- git clone https://github.com/espressif/arduino-esp32.git esp32
|
||||
- cd esp32/tools
|
||||
- python get.py
|
||||
- cd ..
|
||||
- echo 'build.flash_freq=40m' >> platform.txt
|
||||
|
||||
|
||||
script:
|
||||
- cd $TRAVIS_BUILD_DIR
|
||||
- source command.sh
|
||||
- export PATH="$HOME/arduino_ide:$PATH"
|
||||
- arduino --board esp8266com:esp8266:generic --save-prefs
|
||||
- rm -f $HOME/.arduino15/preferences.txt
|
||||
- arduino --board esp8266com:esp8266:generic:CpuFrequency=160,FlashSize=4M3M,FlashMode=dio,FlashFreq=40,LwIPVariant=v2mss536,Debug=Disabled --save-prefs
|
||||
- arduino --get-pref sketchbook.path
|
||||
- build_sketch esp3d/esp3d.ino
|
||||
- arduino --board esp32:esp32:esp32 --save-prefs
|
||||
- build_sketch esp3d/esp3d.ino
|
||||
|
||||
notifications:
|
||||
email:
|
||||
|
Loading…
x
Reference in New Issue
Block a user