-
Notifications
You must be signed in to change notification settings - Fork 80
/
.travis.yml
92 lines (83 loc) · 2.43 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
language: rust
dist: trusty
sudo: false
custom:
test: &test
stage: test
addons:
chrome: stable
script:
- nvm install 9
- ./ci/install_wasm_pack.sh
- ./ci/run_tests.sh
deploy: &deploy
stage: deploy
if: (tag IS present)
rust: stable
script: ./ci/build_for_deployment.sh
deploy:
provider: releases
# To generate the API key:
# 1. On Github: Settings -> Developer settings -> Personal access tokens -> Generate new token
# 2. Select only `public_repo`
# 3. gem install travis
# 4. travis login
# 5. travis encrypt <TOKEN>
api_key:
secure: nnd57nVyFefT+/KNgX2ksmC4IuVegR4yHZBVK6djsn92bTFmw2fKKdPC8VBC23eR2Rr03QEwV11zYsESQp2rkGWjDHsXwWwhlg9L69wsRGdDTH4DZHMAVIJ6afq9RLXdjJZtIlGdKERcNXcXmJFJfb2yn7xMHjbNQK3QBnADlVYkIni2gbYqWWK+5hkxJyjcsvmTu6rBAWbGu9Ubv7J6mL9KJQiTukQDSdb4N2/fP+DSePDfl8aioXuK0uYSArdz09m3BxNPSgzCmTtGNeN5dmrfngbUPuC+68svDV+LDHvbpyC0EVyjvwucDqgF2bQix9SoR/uUv4oxKOrXilhf43hr0uAe2om3STcUzXQbz9cemUylKG/ct8p6sqv2GSN5qZvtVPev14oMEjAA1lU0dvn6qqfkkYF2bhNUuv7xdYVlV1kNJIAI5rp/iWxpX6u+Xf/UvR2PWgiv/ZP5IjpR981Fp4lpw4EXjHNIPUy+4UOBZsjapQuvb7gPd0Y1Kwg3PZO/XAHUDFa4qV16i1YcaZD1BU1D3fIzXeaotUpLqPMxrH6c0mA/t+/M6LR8/ZrMRICrjHCpicZugBT47/jVz1KwVaYnfoWXGo3rH5yhZHKouKSuB53BE7+tQ5v5ixXRjVUVFXuRxH1up2syK3LLLh6JEekDY6PHcrxf1/trlXc=
file_glob: true
file:
- travis-deployment/*
skip_cleanup: true
on:
repo: koute/cargo-web
branch: master
tags: true
jobs:
include:
- <<: *test
os: linux
rust: 1.36.0
env: CHECK_ONLY=1 WITHOUT_CARGO_LOCK=1
- <<: *test
os: linux
rust: 1.26.2
env: CHECK_ONLY=1
- <<: *test
os: linux
rust: stable
env: TEST_SUBSET=1
- <<: *test
os: linux
rust: stable
env: TEST_SUBSET=2
- <<: *test
os: osx
rust: stable
env: BUILD_ONLY=1
- <<: *test
os: windows
rust: stable
env: BUILD_ONLY=1
- <<: *test
os: linux
rust: nightly
env: TEST_SUBSET=1
- <<: *test
os: linux
rust: nightly
env: TEST_SUBSET=2
- <<: *test
os: linux
rust: beta
env: TEST_SUBSET=1
- <<: *test
os: linux
rust: beta
env: TEST_SUBSET=2
- <<: *deploy
os: linux
env: DEPLOY_TARGETS="x86_64-unknown-linux-gnu"
- <<: *deploy
os: osx
env: DEPLOY_TARGETS="x86_64-apple-darwin"