2017-08-24 05:18:03 +02:00
|
|
|
sudo: required # due to manual install of make 4.1
|
|
|
|
dist: trusty # due to the make 4.1 not installable on precise
|
2015-03-05 03:15:27 +01:00
|
|
|
language: cpp
|
2017-08-24 05:18:03 +02:00
|
|
|
# we need at least GNU Make 4.0, which isn't available in trusty, so grab it
|
|
|
|
# manually from xenial
|
|
|
|
before_install:
|
|
|
|
- wget http://mirrors.kernel.org/ubuntu/pool/main/m/make-dfsg/make_4.1-6_amd64.deb
|
|
|
|
- sudo dpkg -i make_4.1-6_amd64.deb
|
2015-07-21 20:46:09 +02:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- python-serial
|
2016-09-20 06:17:17 +02:00
|
|
|
- gperf
|
2017-08-24 05:18:03 +02:00
|
|
|
# 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:
|
2017-08-24 05:18:03 +02:00
|
|
|
- export PATH=$PWD/tools/toolchains/esp8266/bin:$PWD/tools/toolchains/esp32/bin:/bin:/usr/bin:/sbin:/usr/sbin
|
2015-03-05 03:15:27 +01:00
|
|
|
script:
|
2015-10-07 04:33:09 +02:00
|
|
|
- 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
|
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
|