forked from mozilla/tofino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
61 lines (54 loc) · 3.67 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
language: cpp
os:
- osx
- linux
osx_image: xcode7.2
sudo: required
dist: trusty
branches:
except:
- /^greenkeeper-.*$/
cache:
directories:
- node_modules
addons:
artifacts:
aws_access_key:
secure: px32ocviEanI3gclkLdPJzNigtt+WRJLJ3wQfc/VgdDGEKLDC1ibGm3kyiqmIql24/YUM7gd4mx7UQ9cEEr38fNRkK8hO92aO0ztOteBkkKmMiLyfV/AloPqfeaZI7iD3d45KeNTAyg23EnoNS7JBJHrcMwNoM3VC+P5p8CVKtXzzk3ejEstRmoRh73zbAXYkXBd7s7rRHjcgyPMqE8uJjdTcG9i1yiV9k8ANjDqWsd6eNEzh4rteKPnxlJeTc+4gRCDmj0pxbOKLb69b9DXqqVEKtmYvr7aV403bA9F7ES7VAqfLLJ1ON+6P0FWoKYPH0I3lB+UOnnYscQHIBMyq304b+tFZEGsBcK8Zqw4iqxjAl4XVS2ft6kEimeZ5mzLkIw7vS9D3epBZTsyAKX/2teas4QaD6V2JNFj4QEbZSLg3CO7wqtlbYsli3Voworsc1KOyo+j3AweAjTLUmv3oFTfbO+MRM4HXMV0jQntSuMas3vOfyUZ/sRwuFhMNUTqmYmIEhAQDaqNDkQwXakxZ960KTWutqM6PuVLT7g41yx15HCvJDn2Jvd3ue4GB09wPZ2PLt84AQGK9dRuBym56X2I9dDV1SzslNr3wsfMID4Fgk2XBNbeKpmjI5h5koN+mwHcmfMfB2XHoXbO5qG7vJc3J5f/K/AaLQ5fL4rxisQ=
aws_secret_key:
secure: bFW29iR16H1HX0kzbzo1cnSPvrp3Caxk+U346Yym6s1n9t/9Gp6s95PSn4kWu45fp6/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fHMu8v0tpwWsTQjX4XKbz8VvixkT//C+DrqFlJ6w04+ohW0hI4ejCoHRF7xEKgPZfnxEVtBYfvJSwgFky0bw3Dl1xuwWQ7KSLIu6VfSTDo7dU7TGYFOjJ/Gt6SsL7GKstp1pGO7lSyR5RyiQcaM1G08MmWNLwlcxgoaFMbmbAX01mItODlUTN8riW5lMixGxuJhFvpMGTKLBaz1gR04hJHVs=
paths: $(cd dist && ls *.tar.bz2 *.zip *.dmg | tr "\n" ":")
working_dir: dist
target_paths: $(echo mozilla/tofino/builds/${TRAVIS_BRANCH})
permissions: public-read
deploy:
provider: releases
api_key:
secure: "apcRdYszdMfMp6DE0sDHEuGK1XZBeq+xv3+qOAFu00vCKjewgIlKwR9DGwTo7f+doAu3O9LeSOm68VgVBY4dnO/GcxvuFo1FE7kEWKMBR/hllgUHSslvhPjzAsby45DAkhbPwnPeMaYq7gPoUpZfdb0PEI5mFWIgvlkGa9C23DUlE31SD7Dgdfwi1UUEZ6SWgurGWnb3XDSMdgnZieKJeKWPLj+ctxXdeAooFH9NKMCy6zWF8YA0W4r6OF8EuSh4v5GnnUXF/cXfk2L9F2cIJe5uTOxo73gv4k8CQ0K/pmuyEe0WgV4lxFBYY95ms3wh83SZR1fp4ZUnnz21HDF6G4iGNLrkVJ7o1uL5vzIicI5/PbhFkIE5iP3RLlS2WwD3xFDCDh0B0N9G7N4Tc70ZU1qzE7yOSrhBjH613C0a1SGhlDYTjhj2oLwfgMSnFW0TrSGLrvKinyQwIUokWttYoTX6H/7DBwyL1wwWXey4+CKr8B+3vHO/vsAfyGUKG8OOdItqorfQe745KV40SmPmZnywnqBEHDEWdf/RBVxNoJpN858vnjqi27nkSOC8ikjT8d09qBIOiUE8EhLNl0g4z2F5R6LboLv5HWBmfBEYr+AAfT5ceLTlO69gpKl5lp4i7e3KmKFXMfjZVKAW2cvudldyF4K+oasr/D/WARgDkwY="
file_glob: true
file:
- "dist/*.tar.bz2"
- "dist/*.zip"
- "dist/*.dmg"
skip_cleanup: true
overwrite: true
on:
tags: true
before_install:
- "export DISPLAY=:99.0"
- source scripts/bootstrap.sh
- sleep 3
install:
- nvm --version
- nvm install 6.1
- node --version
- npm --version
- npm prune
- npm install --progress false --depth 0
- npm install --progress false --depth 0
script:
- npm run test-ci
- npm run package
- npm run coverage