-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
35 lines (28 loc) · 990 Bytes
/
.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
# travis build configuration for grbl_port_opencm3
language: c
sudo: false
addons:
apt:
packages:
libc6-i386
cache:
directories:
- $HOME/gcc-arm-none-eabi-6-2017-q1-update
install:
- export GCC_DIR=$HOME/gcc-arm-none-eabi-6-2017-q1-update
- export GCC_ARCHIVE=$HOME/gcc-arm-none-eabi-6-2017-q1-update-linux.tar.bz2
- export GCC_URL=https://developer.arm.com/-/media/Files/downloads/gnu-rm/6_1-2017q1/gcc-arm-none-eabi-6-2017-q1-update-linux.tar.bz2?product=GNU%20ARM%20Embedded%20Toolchain,64-bit,,Linux,6-2017-q1-update
- if [ ! -e $GCC_DIR/bin/arm-none-eabi-g++ ]; then wget $GCC_URL -O $GCC_ARCHIVE; tar xfj $GCC_ARCHIVE -C $HOME; fi
- export PATH=$PATH:$GCC_DIR/bin
- cd scripts
# Launch build and deploy
script:
- ./configurable_compile_script.py -bui $TRAVIS_BUILD_NUMBER
deploy:
provider: releases
api_key:
secure: $GH_TOKEN
file_glob: true
file: $TRAVIS_BUILD_DIR/scripts/artifacts_built/*.bin
skip_cleanup: true
draft: true