-
Notifications
You must be signed in to change notification settings - Fork 236
/
.travis.yml
76 lines (68 loc) · 2.17 KB
/
.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
language: cpp
os:
- linux
- osx
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- g++-4.8-multilib
- gcc-multilib
- libusb-1.0-0:i386
- libusb-1.0-0-dev
- libudev-dev
script:
- pushd commandline
- make package package-tiny-server
# FIXME: make this a conditional build like in appveyor
#- pushd blink1control-tool
#- make json-parser-setup
#- make curl-setup
#- make
#- make package
#- ls -alth
#- popd ..
#-
- ls -alrth
- popd
before_deploy:
- DFILE1=$(ls commandline/blink1-tool*zip)
- DFILE2=$(ls commandline/blink1-lib*zip)
- DFILE3=$(ls commandline/blink1-tiny-server*zip)
# FIXME: how to make this not fail w/ error?
#- DFILE4=$(ls commandline/blink1control-tool/blink1control-tool*zip)
- mkdir build
- mv $DFILE1 build
- mv $DFILE2 build
- mv $DFILE3 build
#- mv $DFILE4 build
# uncommenting addons causes makes to fail, why?
#addons:
# artifacts: true
# paths:
# - "${DFILE1}"
# - "${DFILE2}"
# - "${DFILE3}"
# - "${DFILE4}"
deploy:
skip_cleanup: true
provider: s3
# You can refer to environment variables from Travis repo settings
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
bucket: todtravistest2
# 's3' provider doesn't do "file:" and only copies a directory, so set that
local_dir: build
upload-dir: blink1
# provider: releases
# api_key:
# secure: gXX2CJ5j9INqRaHzPBoYfMbM3etTruK/sQSnoBfIfw9g3qFRUwSQ8vAkdYMmdKs3Zt/z4e07dbS0q08TL/7rR7Y2R6QOZXTIIzFKjixcJAXcsqZwzNyPO1BZInkoJ/XJZ3TlQLTy3dzhKJ2BIm79rwPjuVufElEVgiigQxbk8L6wHYBk+yu+E4PS/yp8xKabJiMIwttZeU/iW+zRMNWk9LEkYvoHHx3+pAC3NIwYXqX+yoCdzYLmVYqq+rbfgtBkNUo8ZjKZWojSW4DN8mjuekr7t4lqLs6s8+cTvncYjIMcObyWWvLvYOg18c5Z0n7p3CU7cFgzqrjX+gBQdTu3KEf9eM8tKQAUjkhp8zBcAYxIHOUeAKpbiNrB5azPbNny/17xMag7v3QEg8ORgaOin6jv7rpR5ai8eURDTJseNz1tcFzsLyFJ82gc7DLttM3vrDB291rcezbOjOLHHF/hZNhqGrk2iHbbtQVCWO3vtBYZ9KniseqQdlvGArXKKgmKfXWib5r8+mOdMdkIDrcekXdkLa/BqibgA0hF9eHqM0CwFiR5S3naAP44IbzVSYpJTB0yQCwj56BLmgOORSpyGcfSeGezcXNIDZRSjtoL3pYkP5Tu3dhflxfL6PGagXwjJ3klhG0mEZC0L/t5JSaA4R1LWd9uU5Hu5634WL9R5cs=
# file:
# - "${DFILE1}"
# - "${DFILE2}"
# - "${DFILE3}"
# - "${DFILE4}"
# on:
# tags: true