-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
25 lines (21 loc) · 870 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
sudo: required
# Enable C++ support
language: c
# Compiler selection
compiler:
- gcc
before_install:
- cd /home/travis/build/cmbahadir
- git clone --recursive https://github.com/espressif/esp-idf.git esp-idf
- export IDF_PATH=/home/travis/build/cmbahadir/esp-idf
- sudo apt-get install gcc git wget make libncurses-dev flex bison gperf python python-pip python-setuptools python-serial python-pyparsing
- python -m pip install --user -r $IDF_PATH/requirements.txt
- mkdir esp && cd esp
- wget https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-linux-amd64.tar.gz
- tar -xzf xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-linux-amd64.tar.gz
- export PATH="/home/travis/build/cmbahadir/esp/xtensa-esp32-elf/bin:$PATH" && cd ..
- mv opcua-esp32 $IDF_PATH/examples
# Build steps
script:
- cd $IDF_PATH/examples/opcua-esp32
- make -j4