2015-07-21 20:46:09 +02:00
|
|
|
sudo: false
|
2015-03-05 03:15:27 +01:00
|
|
|
language: cpp
|
2015-07-21 20:46:09 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- python-serial
|
|
|
|
- srecord
|
2016-09-20 06:17:17 +02:00
|
|
|
- gperf
|
2016-01-10 07:57:24 +01:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- cache
|
2015-03-05 03:15:27 +01:00
|
|
|
install:
|
2016-06-25 15:18:42 +02:00
|
|
|
- export PATH=$PWD/tools/toolchains/esp8266/bin:$PWD/tools/toolchains/esp32/bin:$PATH
|
2015-03-05 03:15:27 +01:00
|
|
|
script:
|
2015-10-07 04:33:09 +02:00
|
|
|
- export BUILD_DATE=$(date +%Y%m%d)
|
2016-09-20 06:17:17 +02:00
|
|
|
- env BUILD_DIR_BASE=build/float make MORE_CFLAGS="-DBUILD_DATE='\"'$BUILD_DATE'\"'" defconfig all
|
|
|
|
- env BUILD_DIR_BASE=build/integer make MORE_CFLAGS="-DLUA_NUMBER_INTEGRAL -DBUILD_DATE='\"'$BUILD_DATE'\"'" defconfig all
|
2015-11-15 20:11:24 +01:00
|
|
|
# http://docs.travis-ci.com/user/environment-variables/#Convenience-Variables
|
2016-09-20 06:17:17 +02:00
|
|
|
#- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash "$TRAVIS_BUILD_DIR"/tools/pr-build.sh; fi
|