8000 .travis.yml: Simplify, remove esp-open-rtos specific things. · ptone/circuitpython@2a6b86a · GitHub
[go: up one dir, main page]

Skip to content

Commit 2a6b86a

Browse files
committed
.travis.yml: Simplify, remove esp-open-rtos specific things.
1 parent 024542e commit 2a6b86a

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.travis.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,12 @@ language: c
22
sudo: false
33
env:
44
# 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"
76
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}
118
cache:
129
directories:
1310
- ${CROSS_ROOT}
14-
- ${ESPTOOL2_DIR}
1511
addons:
1612
apt:
1713
packages:
@@ -33,6 +29,7 @@ addons:
3329
- python-serial
3430
- sed
3531
- git
32+
- help2man
3633

3734
before_install:
3835
# Install a toolchain using esp-open-sdk (parts we need for this are the GNU toolchain and libhal)
@@ -43,17 +40,11 @@ before_install:
4340
- unset CC # Travis sets this due to "language: c", but it confuses autotools configure when cross-building
4441
- ${HAS_TC} || git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
4542
- ${HAS_TC} || cd esp-open-sdk
46-
- ${HAS_TC} || git reset --hard ${OPENSDK_COMMIT}
47-
- ${HAS_TC} || git submodule update
4843
- ${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...
4944
- ${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
5646

5747
script:
5848
- cd ${TRAVIS_BUILD_DIR}
49+
- make -C esp8266 axtls
5950
- make -C esp8266

0 commit comments

Comments
 (0)
0