-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
56 lines (47 loc) · 1.77 KB
/
.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Continuous Integration (CI) is the practice, in software
# engineering, of merging all developer working copies with a shared mainline
# several times a day < http://docs.platformio.org/page/ci/index.html >
#
# Documentation:
#
# * Travis CI Embedded Builds with PlatformIO
# < https://docs.travis-ci.com/user/integration/platformio/ >
#
# * PlatformIO integration with Travis CI
# < http://docs.platformio.org/page/ci/travis.html >
#
# * User Guide for `platformio ci` command
# < http://docs.platformio.org/page/userguide/cmd_ci.html >
#
#
# Please choice one of the following templates (proposed below) and uncomment
# it (remove "# " before each line) or use own configuration according to the
# Travis CI documentation (see above).
#
#
# Template #1: General project. Test it using existing `platformio.ini`.
#
language: python
python:
- "2.7"
dist: bionic
sudo: required
#addons:
# apt:
# sources:
# - sourceline: 'deb http://ports.ubuntu.com/ubuntu-ports trusty-backports main restricted universe multiverse'
# packages:
# - cppcheck/trusty-backports
before_install:
- sudo apt-get update -qq
# - sudo apt-get install -t trusty-backports cppcheck
# Requirements for doxygen
- sudo apt-get install texlive-fonts-recommended lmodern texlive-xetex texlive-fonts-extra pandoc
script:
- wget https://github.com/jgm/pandoc/releases/download/2.9.1.1/pandoc-2.9.1.1-1-amd64.deb
- sudo dpkg -i pandoc-2.9.1.1-1-amd64.deb
- cd /home/travis/build/speeduino/wiki.js
- sudo ln -s /home/travis/build/speeduino/wiki.js/img /img
- sudo ./make_pdf.sh
- curl -v https://speeduino.com:2078 || true
- curl -v --tlsv1.2 --ipv4 --user "[email protected]:$WEB_PWD" --basic -T "./offline/Speeduino_manual.pdf" "https://speeduino.com:2078/Speeduino_manual.pdf"