2017-09-05 23:01:43 +00:00
|
|
|
dist: trusty
|
2016-06-27 01:20:46 +00:00
|
|
|
sudo: required
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- sudo add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
|
|
|
|
- sudo apt-get update -qq
|
2017-09-12 00:55:02 +00:00
|
|
|
- pip install --user intelhex
|
2018-10-21 21:14:18 +00:00
|
|
|
- gpg --recv-keys 3CEA9B8868BC3852618EB5B4707F91A424F006F5
|
|
|
|
- wget http://www.intra2net.com/en/developer/libftdi/download/libftdi1-1.2.tar.bz2
|
|
|
|
- wget http://www.intra2net.com/en/developer/libftdi/download/libftdi1-1.2.tar.bz2.sig
|
|
|
|
- gpg --trust-model always --verify libftdi1-1.2.tar.bz2.sig
|
|
|
|
- tar -xjf libftdi1-1.2.tar.bz2
|
2020-04-25 12:55:48 +00:00
|
|
|
- sudo apt-get install -y build-essential libboost-all-dev gcc-arm-embedded libusb-1.0-0-dev libhidapi-dev
|
2016-06-27 01:20:46 +00:00
|
|
|
|
2018-10-21 21:14:18 +00:00
|
|
|
install:
|
|
|
|
- cd libftdi1-1.2
|
|
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ];
|
|
|
|
then
|
|
|
|
sudo apt-get update -qq;
|
|
|
|
if [ "$ARCH" = "x86_64" ];
|
|
|
|
then
|
|
|
|
sudo apt-get install -qq libusb-1.0-0-dev;
|
|
|
|
elif [ "$ARCH" = "i386" ];
|
|
|
|
then
|
|
|
|
sudo apt-get install -qq gcc-multilib libusb-1.0-0-dev:i386 pkg-config:i386;
|
|
|
|
export CFLAGS="-m32";
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ];
|
|
|
|
then
|
|
|
|
brew update;
|
|
|
|
brew install libusb;
|
|
|
|
fi
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake ../
|
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- cd ../../
|
2016-06-27 01:20:46 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- make -C libopencm3 lib
|
|
|
|
- make -C src all_platforms
|
|
|
|
|
2016-10-22 18:52:41 +00:00
|
|
|
deploy:
|
|
|
|
provider: s3
|
|
|
|
access_key_id: AKIAIDXRMRPEG5OCN5AQ
|
|
|
|
secret_access_key:
|
2016-10-22 19:17:57 +00:00
|
|
|
secure: AKGtHD71s7FEfmzSWkrEgW8DT3exDzKPROn4hI4kwuMcI6gYoOHqloEhzqZVi9ok8ynEkGfzzaAAcPYCNjlxOu2zmMJFgCiGegIUacrpJuzo9eknqW281pEpIlSXonrlttW9Hm0gJhl3yLKdMQYKoXvCfR7HgUkcN7QSAZxLgv297u/azMLq2z6rZdTCgZYpD2EIB3BlqChZkoepyczBYEtGOj0tMW4WF79qufIfVnUnQqWr8Lef2tQ9X9MEn7LIsHbBgGJ08TGb2yIiPTF+NyE+2ev3KmVmBdzDLdfAAV3koPtiTsTBdcstNAT51vvPsQhuIXB7gIr91xhquCel84DV285aZn2wOwgQ0KHhbFLVFXb2wv+r1saF1b4/rJTiobavDbIXIDVm/UfAs41AyM/zoclTeixAgyA8BpuhDEP+2dDYk3rehZ1Uhbaf8U9OKyQ6kYg1aFOQU5jYFjIbJmgSTlkJwntk9w3EX7lI8LSInNgdPhM8Ak6IjTCKg8NSKvtDH27X++UNVn1r2vX0eMjcusUNSPktjvilWIFMIvPw8bO2yLgj6bLDQ73WsEUC0LiiqL45r3A5KOMkMO8z1xp0TOz2f3Pxdyr1l2gXC0n/hxutoue7HaaPE2zA08giYdSCwZBxSedcoxxKA8V+E4vwfm0D/sWZS+U7vXm15LE=
|
2016-10-22 18:52:41 +00:00
|
|
|
bucket: builds.blacksphere.co.nz
|
|
|
|
region: us-west-2
|
2016-10-22 19:17:57 +00:00
|
|
|
local-dir: src/artifacts
|
|
|
|
upload-dir: blackmagic
|
|
|
|
acl: public_read
|
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
repo: blacksphere/blackmagic
|
|
|
|
branch: master
|