.travis.yml

Sun, 01 Nov 2020 22:16:33 +0100

author
David Douard <david.douard@sdf3.org>
date
Sun, 01 Nov 2020 22:16:33 +0100
changeset 43
c850674a3101
parent 0
f3377957d8c0
permissions
-rw-r--r--

Add a series of reference serial data sessions from a working 34970A unit.

These sessions do have a few glitches, however (random off by one bit,
probably due to a sampling freq a bit too low).

Comes with an adapted version of the uart_filter.py script to interpret the
communication protocol.

0
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
1 # Continuous Integration (CI) is the practice, in software
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
2 # engineering, of merging all developer working copies with a shared mainline
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
3 # several times a day < http://docs.platformio.org/en/latest/ci/index.html >
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
4 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
5 # Documentation:
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
6 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
7 # * Travis CI Embedded Builds with PlatformIO
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
8 # < https://docs.travis-ci.com/user/integration/platformio/ >
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
9 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
10 # * PlatformIO integration with Travis CI
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
11 # < http://docs.platformio.org/en/latest/ci/travis.html >
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
12 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
13 # * User Guide for `platformio ci` command
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
14 # < http://docs.platformio.org/en/latest/userguide/cmd_ci.html >
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
15 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
16 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
17 # Please choice one of the following templates (proposed below) and uncomment
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
18 # it (remove "# " before each line) or use own configuration according to the
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
19 # Travis CI documentation (see above).
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
20 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
21
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
22
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
23 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
24 # Template #1: General project. Test it using existing `platformio.ini`.
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
25 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
26
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
27 # language: python
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
28 # python:
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
29 # - "2.7"
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
30 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
31 # sudo: false
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
32 # cache:
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
33 # directories:
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
34 # - "~/.platformio"
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
35 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
36 # install:
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
37 # - pip install -U platformio
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
38 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
39 # script:
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
40 # - platformio run
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
41
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
42
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
43 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
44 # Template #2: The project is intended to by used as a library with examples
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
45 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
46
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
47 # language: python
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
48 # python:
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
49 # - "2.7"
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
50 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
51 # sudo: false
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
52 # cache:
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
53 # directories:
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
54 # - "~/.platformio"
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
55 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
56 # env:
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
57 # - PLATFORMIO_CI_SRC=path/to/test/file.c
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
58 # - PLATFORMIO_CI_SRC=examples/file.ino
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
59 # - PLATFORMIO_CI_SRC=path/to/test/directory
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
60 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
61 # install:
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
62 # - pip install -U platformio
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
63 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
64 # script:
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
65 # - platformio ci --lib="." --board=TYPE_1 --board=TYPE_2 --board=TYPE_N

mercurial