Skip to content

Commit d35cc05

Browse files
committed
Update travis config to use Python 3.8.1 and CMake build system.
1 parent a79a852 commit d35cc05

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed

.travis.yml

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
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-
8-
language: bash
9-
10-
addons:
11-
apt:
12-
packages:
13-
- gperf
14-
- python3
15-
- python3-pip
2+
language: python
3+
python: "3.8"
164

175
before_install:
186
# Save path to the git respository
@@ -37,12 +25,9 @@ install:
3725
# Set the path to ESP-IDF directory
3826
- export IDF_PATH=~/esp/esp-idf
3927
# Install python dependencies
40-
- pip install --user --requirement $IDF_PATH/requirements.txt
28+
- pip install --requirement $IDF_PATH/requirements.txt
4129

4230
script:
43-
# Go back to the git repository
31+
# Build project within the original repository
4432
- cd $PROJECT_PATH
45-
# Update configuration so that kconfig doesn't start interactive mode
46-
- make defconfig
47-
# Build project from the git repository
48-
- make
33+
- $IDF_PATH/tools/idf.py build

0 commit comments

Comments
 (0)