.travis.yml 701 B

12345678910111213141516171819
  1. sudo: false
  2. language: cpp
  3. addons:
  4. apt:
  5. packages:
  6. - python-serial
  7. - srecord
  8. - gperf
  9. cache:
  10. directories:
  11. - cache
  12. install:
  13. - export PATH=$PWD/tools/toolchains/esp8266/bin:$PWD/tools/toolchains/esp32/bin:$PATH
  14. script:
  15. - export BUILD_DATE=$(date +%Y%m%d)
  16. - env BUILD_DIR_BASE=build/float make BATCH_BUILD=1 MORE_CFLAGS="-DBUILD_DATE='\"'$BUILD_DATE'\"'" defconfig all
  17. - env BUILD_DIR_BASE=build/integer make BATCH_BUILD=1 MORE_CFLAGS="-DLUA_NUMBER_INTEGRAL -DBUILD_DATE='\"'$BUILD_DATE'\"'" defconfig all
  18. # http://docs.travis-ci.com/user/environment-variables/#Convenience-Variables
  19. #- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash "$TRAVIS_BUILD_DIR"/tools/pr-build.sh; fi