Skip to content

Commit 150d3ae

Browse files
committed
Update Travis config to build with Python3.
1 parent bdd7aff commit 150d3ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
dist: bionic
22
env:
33
global:
4+
# Set Python 3.7.1 as the default python
45
PATH=/opt/python/3.7.1/bin:$PATH
6+
language: bash
57

68
addons:
79
apt:
@@ -29,15 +31,13 @@ install:
2931
# Make xtensa-esp32-elf available for all terminal sessions
3032
- export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin
3133
# Get ESP-IDF from github
32-
- git clone --recursive --branch v3.3 https://github.com/espressif/esp-idf.git
34+
- git clone --recursive --branch v3.3 --single-branch https://github.com/espressif/esp-idf.git
3335
# Set the path to ESP-IDF directory
3436
- export IDF_PATH=~/esp/esp-idf
3537
# Install python dependencies
3638
- pip install --user --requirement $IDF_PATH/requirements.txt
3739

3840
script:
39-
- which python
40-
- python --version
4141
# Go back to the git repository
4242
- cd $PROJECT_PATH
4343
# Update configuration so that kconfig doesn't start interactive mode

0 commit comments

Comments
 (0)