Skip to content

Commit b8b0295

Browse files
authored
Update Travis config to build with ESP-IDF v3.3. (DavidAntliff#2)
* Update Travis config to build with ESP-IDF v3.3. * Update Travis config to build with ESP-IDF v3.3. * Update Travis config to build with ESP-IDF v3.3. * Update Travis config to build with Python 3. * Update Travis config to build with Python3. * Update Travis config to build with Python3. * Add support for concurrent make. * Shallow submodule checkout.
1 parent ec1adab commit b8b0295

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.travis.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1-
sudo: false
1+
dist: bionic
2+
env:
3+
global:
4+
# Set Python 3.7.1 as the default python
5+
- PATH=/opt/python/3.7.1/bin:$PATH
6+
- MAKEFLAGS="-j 2"
7+
28
language: bash
3-
os:
4-
- linux
59

610
addons:
711
apt:
812
packages:
913
- gperf
10-
- python
11-
- python-serial
14+
- python3
15+
- python3-pip
1216

1317
before_install:
1418
# Save path to the git respository
@@ -29,9 +33,11 @@ install:
2933
# Make xtensa-esp32-elf available for all terminal sessions
3034
- export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin
3135
# Get ESP-IDF from github
32-
- git clone --recursive --branch release/v3.0 https://github.com/espressif/esp-idf.git
36+
- git clone --recursive --branch v3.3 --single-branch --shallow-submodules https://github.com/espressif/esp-idf.git
3337
# Set the path to ESP-IDF directory
3438
- export IDF_PATH=~/esp/esp-idf
39+
# Install python dependencies
40+
- pip install --user --requirement $IDF_PATH/requirements.txt
3541

3642
script:
3743
# Go back to the git repository
@@ -40,4 +46,3 @@ script:
4046
- make defconfig
4147
# Build project from the git repository
4248
- make
43-

0 commit comments

Comments
 (0)