diff --git a/.travis.yml b/.travis.yml index be5cf767..5be5f065 100644 --- a/.travis.yml +++ b/.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: