@@ -2,16 +2,12 @@ language: c
2
2
sudo : false
3
3
env :
4
4
# Target commit for https://github.com/pfalcon/esp-open-sdk/
5
- OPENSDK_COMMIT=cd1d336
6
- CROSS_ROOT="${HOME}/toolchain-${OPENSDK_COMMIT}"
5
+ CROSS_ROOT="${HOME}/toolchain-xtensa"
7
6
CROSS_BINDIR="${CROSS_ROOT}/bin"
8
- ESPTOOL2_COMMIT=ec0e2c7
9
- ESPTOOL2_DIR="${HOME}/esptool2-${ESPTOOL2_COMMIT}"
10
- PATH=${PATH}:${CROSS_BINDIR}:${ESPTOOL2_DIR}
7
+ PATH=${PATH}:${CROSS_BINDIR}
11
8
cache :
12
9
directories :
13
10
- ${CROSS_ROOT}
14
- - ${ESPTOOL2_DIR}
15
11
addons :
16
12
apt :
17
13
packages :
@@ -33,6 +29,7 @@ addons:
33
29
- python-serial
34
30
- sed
35
31
- git
32
+ - help2man
36
33
37
34
before_install :
38
35
# Install a toolchain using esp-open-sdk (parts we need for this are the GNU toolchain and libhal)
@@ -43,17 +40,11 @@ before_install:
43
40
- unset CC # Travis sets this due to "language: c", but it confuses autotools configure when cross-building
44
41
- ${HAS_TC} || git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
45
42
- ${HAS_TC} || cd esp-open-sdk
46
- - ${HAS_TC} || git reset --hard ${OPENSDK_COMMIT}
47
- - ${HAS_TC} || git submodule update
48
43
- ${HAS_TC} || sed -i "s/2.69/2.68/" lx106-hal/configure.ac # this is a nasty hack as Ubuntu Precise only has autoconf 2.68 not 2.69...
49
44
- ${HAS_TC} || sed -r -i 's%TOOLCHAIN ?=.*%TOOLCHAIN=${CROSS_ROOT}%' Makefile
50
- - ${HAS_TC} || make STANDALONE=n
51
- - export HAS_ET2="test -f ${ESPTOOL2_DIR}/esptool2"
52
- - ${HAS_ET2} || git clone https://github.com/raburton/esptool2 ${ESPTOOL2_DIR}
53
- - ${HAS_ET2} || cd ${ESPTOOL2_DIR}
54
- - ${HAS_ET2} || git reset --hard ${ESPTOOL2_COMMIT}
55
- - ${HAS_ET2} || make
45
+ - ${HAS_TC} || make
56
46
57
47
script :
58
48
- cd ${TRAVIS_BUILD_DIR}
49
+ - make -C esp8266 axtls
59
50
- make -C esp8266
0 commit comments