Skip to content

Commit 1123e90

Browse files
committed
adding travic CI conf
1 parent ee83391 commit 1123e90

File tree

1 file changed

+16
-39
lines changed

1 file changed

+16
-39
lines changed

.travis.yml

Lines changed: 16 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -20,46 +20,23 @@
2020
#
2121

2222

23-
#
24-
# Template #1: General project. Test it using existing `platformio.ini`.
25-
#
23+
language: python
24+
python:
25+
- "2.7"
2626

27-
# language: python
28-
# python:
29-
# - "2.7"
30-
#
31-
# sudo: false
32-
# cache:
33-
# directories:
34-
# - "~/.platformio"
35-
#
36-
# install:
37-
# - pip install -U platformio
38-
#
39-
# script:
40-
# - platformio run
27+
sudo: false
28+
cache:
29+
directories:
30+
- "~/.platformio"
4131

32+
env:
33+
- PLATFORMIO_CI_SRC=examples/serial_menu/serial_menu.ino
4234

43-
#
44-
# Template #2: The project is intended to by used as a library with examples
45-
#
35+
install:
36+
- pip install -U platformio
4637

47-
# language: python
48-
# python:
49-
# - "2.7"
50-
#
51-
# sudo: false
52-
# cache:
53-
# directories:
54-
# - "~/.platformio"
55-
#
56-
# env:
57-
# - PLATFORMIO_CI_SRC=path/to/test/file.c
58-
# - PLATFORMIO_CI_SRC=examples/file.ino
59-
# - PLATFORMIO_CI_SRC=path/to/test/directory
60-
#
61-
# install:
62-
# - pip install -U platformio
63-
#
64-
# script:
65-
# - platformio ci --lib="." --board=TYPE_1 --board=TYPE_2 --board=TYPE_N
38+
- wget https://github.com/neu-rah/PCINT/archive/master.zip -O /tmp/PCINT-master.zip
39+
- unzip /tmp/PCINT-master.zip -d /tmp/
40+
41+
script:
42+
- platformio ci --lib="." --lib="/tmp/PCINT-master" --board=nanoatmega328

0 commit comments

Comments
 (0)