-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (33 loc) · 1.02 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
language: c
dist: Bionic
compiler:
- clang
script: PLATFORM=TESTING make test
install:
- gem install coveralls-lcov
before_install:
- sudo apt-get update -qq
- sudo add-apt-repository ppa:deadsnakes/ppa -y
- sudo apt-get update -qq
- sudo apt-get install python3.6 -y
- sudo rm /usr/bin/python3
- sudo ln -s /usr/bin/python3.6 /usr/bin/python3
- wget https://bootstrap.pypa.io/get-pip.py
- sudo python3 get-pip.py
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq -y libsubunit-dev; fi
- travis_wait script/bootstrap.sh
- cd src
after_success:
- PLATFORM=TESTING make coverage
- coveralls-lcov build/tests/coverage.info
before_deploy: echo "n" | fab release:skip_tests=True
deploy:
provider: releases
api_key:
secure: NOSHkTeRCfYcfW6ft8/5xOsEmn0DFrfvJL0UFsDQ9f0dBPoXPMJpgbXr+0i4wbMvwIgAKmJ2SfgvIBcm8IWXhLSMsZiaaTvrbomNgqI8ZIghBdSe6GARaiF/9V/A5l/8zCVMs65Kpo1BssC0BiESpIgoOR/aeF5J6TmCIbUe03k=
skip_cleanup: true
file_glob: true
file: "./release/openxc-vi-firmware-v*.*.*.zip"
on:
repo: openxc/vi-firmware
tags: true