2018-12-04 23:18:49 +00:00
|
|
|
sudo: required
|
|
|
|
dist: xenial
|
|
|
|
language: c
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
2018-12-06 19:51:06 +00:00
|
|
|
api_key: "$GITHUB_TOKEN"
|
2018-12-06 20:01:46 +00:00
|
|
|
file_glob: true
|
|
|
|
file: "$TRAVIS_BUILD_DIR/bin/*/*"
|
2018-12-04 23:18:49 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- (wget https://s3.amazonaws.com/adafruit-circuit-python/gcc-arm-embedded_7-2018q2-1~xenial1_amd64.deb && sudo dpkg -i gcc-arm-embedded*_amd64.deb)
|
2018-12-05 01:31:59 +00:00
|
|
|
- (wget https://www.nordicsemi.com/api/sitecore/Products/DownloadPlatform --post-data=fileid=8F19D314130548209E75EFFADD9348DB -O cli-tools.tar && tar -xv -f cli-tools.tar && mv mergehex mergehex_all && mv mergehex_all/mergehex .)
|
2018-12-05 01:34:50 +00:00
|
|
|
- export PATH=.:$PATH
|
2018-12-05 01:28:01 +00:00
|
|
|
- mergehex --version
|
2018-12-04 23:18:49 +00:00
|
|
|
|
|
|
|
# report some good version numbers to the build
|
|
|
|
- gcc --version
|
|
|
|
- arm-none-eabi-gcc --version
|
|
|
|
- python3 --version
|
2018-12-05 00:30:02 +00:00
|
|
|
- python --version
|
2018-12-05 00:36:41 +00:00
|
|
|
- sudo apt-get install -y python3-pip python3-setuptools
|
|
|
|
- pip3 install --user adafruit-nrfutil
|
2018-12-04 23:18:49 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- python3 tools/build_all.py
|