forked from Smoothieware/Smoothieware
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
44 lines (37 loc) · 842 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
36
37
38
39
40
41
42
43
44
language: cpp
env:
global:
- PATH=${TRAVIS_BUILD_DIR}/gcc-arm-none-eabi/bin:${PATH}
compiler:
- gcc
install:
- sudo dpkg --add-architecture i386
- sudo apt-get install libc6:i386 libstdc++6:i386
- ./travis_install
before_script:
- git checkout $TRAVIS_BRANCH
script:
- make clean build
deploy:
- provider: s3
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
acl: public_read
local-dir: firmwarebin/
upload-dir: ${TRAVIS_BRANCH}
bucket: $HEX_BUCKET
region: us-east-2
skip_cleanup: true
on:
repo: Opentrons/SmoothiewareOT
all_branches: true
- provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file_glob: true
file: firmwarebin/*.hex
skip_cleanup: true
on:
tags: true
notifications:
email:
on_failure: change