Skip to content

Commit

Permalink
Merge pull request #74 from slurdge/master
Browse files Browse the repository at this point in the history
Push the releases to GitHub with Travis-CI
  • Loading branch information
iceman1001 authored Feb 22, 2019
2 parents 7ba8caf + fa725a4 commit a7bdd9b
Showing 1 changed file with 14 additions and 29 deletions.
43 changes: 14 additions & 29 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,18 @@
# Travis-CI Build for IcemanFork/ChameleonMini-rebooted
language: c

#default linux build env is: Ubuntu 14.04 trusty
compiler: gcc

# Test on Linux
matrix:
include:
- os: linux
dist: trusty
sudo: required

before_install:
## Install ARM toolchain on Linux.
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get update -qq;
sudo apt-get install gcc-avr avr-libc binutils-avr;
fi

install:
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
cd Firmware/Chameleon-Mini/;
make;
fi

before_script:

script:
## start and run a test script
## if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
## ./client/proxmark3 -h ;
## fi
- os: linux
dist: xenial
sudo: required
before_install: sudo apt-get update -qq
install: sudo apt-get install -y gcc-avr avr-libc binutils-avr
before_script:
script: cd Firmware/Chameleon-Mini/; make
deploy:
provider: releases
api_key: $GH_API_KEY
file:
- "$TRAVIS_BUILD_DIR/Firmware/Chameleon-Mini/Chameleon-Mini.hex"
- "$TRAVIS_BUILD_DIR/Firmware/Chameleon-Mini/Chameleon-Mini.eep"
skip_cleanup: true

0 comments on commit a7bdd9b

Please sign in to comment.