nodemcu-firmware/.travis.yml

20 lines
931 B
YAML
Raw Permalink Normal View History

dist: xenial
2015-03-05 03:15:27 +01:00
language: cpp
2015-07-21 20:46:09 +02:00
addons:
apt:
packages:
- python-serial
- gperf
# note that we clobber $PATH completely, to get rid of /opt/python* stuff so
# we can use the system python and python-serial, rather than messing around
# with pip all over the place
2015-03-05 03:15:27 +01:00
install:
- export PATH=$PWD/tools/toolchains/esp8266/bin:$PWD/tools/toolchains/esp32/bin:/bin:/usr/bin:/sbin:/usr/sbin
2018-10-07 14:06:56 +02:00
- /usr/bin/python -m pip install --user -r $PWD/sdk/esp32-esp-idf/requirements.txt
2015-03-05 03:15:27 +01:00
script:
- export BUILD_DATE=$(date +%Y%m%d)
2017-06-13 19:03:25 +02:00
- env BUILD_DIR_BASE=`pwd`/build/float make MORE_CFLAGS="-DBUILD_DATE='\"'$BUILD_DATE'\"'" defconfig all
- env BUILD_DIR_BASE=`pwd`/build/integer make MORE_CFLAGS="-DLUA_NUMBER_INTEGRAL -DBUILD_DATE='\"'$BUILD_DATE'\"'" defconfig all
# http://docs.travis-ci.com/user/environment-variables/#Convenience-Variables
#- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then bash "$TRAVIS_BUILD_DIR"/tools/pr-build.sh; fi