forked from ocaml-ppx/ppx_deriving
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
65 lines (57 loc) · 2.15 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
sudo: required
git:
depth: 3
language: node_js
node_js:
- "10"
cache:
directories:
- $HOME/.opam
- $HOME/.npm
install: STAGE=install npm run travis
script: STAGE=test npm run travis
jobs:
include:
- stage: deploy
os: linux
env: COMPONENT=ppx-examples-test
script: STAGE=deploy npm run travis
deploy: &gh-release
provider: releases
on:
tags: true
skip_cleanup: true
api_key:
secure: L9HSKVMa87b2i5PLWBgWkETNAnX10jyfwq9a8utvviffePPRhlssYeorhUtIT5afQS447gP5aaZ0j5mXo5YTu5HfG9InA3kd9P0shpdzVo+a5cqqO+gnchNdVv1nEerTpaywA+y1afoXQMXxk2ov6xYdMNFJieEuotLoyI9tv/TtNNDOEhu5GgUdNNrp7Azb/9XhM957IKRPYxlPQQERKMclMqIGZlrFNKHX9j+WtZFEGDrnY6nPwEM0nMNvFPGPW8XY6pmL0k2wlJpLoBjNWpwDUmAkpsqPrmYXTYL92P2TdShEmtdzr2fwJfQhQ74vnkZ8qfQW+teTmCBL1x77SvOeQIi06UfRbjZWxwhfnFCakZkN9+/1Fiv13nZbBCiHJ3j1ExT7Dbm4fhkigMZGsjK3INiFjlym8JwVXyvqAOS86jamKNJGLNYW3PgZQHEazN3+7/D773wgb1DDZ2eKIz26EoiaCGXOih3M1pWCUSMaYg7HjbRPyjRD8YIiDupi85CrtnFnDpdeQRpd9pvo7oPQX2i0Q33xr5KTqCYwYc3infz7AHm3YwcGQ5uxmXQIC1oPccVh1J0bkseU3IiYV6qCLuFCO8woapvArZZuUVyKOXrrpCa6Y+XH7Z0Iwgy+mdaN0rAqepU6H5NBo8Zfan92Y1FaBc0V1pynQ8W23hU=
file_glob: true
file: dist/*
overwrite: true
draft: true
- os: linux
env: COMPONENT=ppx-examples-test GENERATION=5
script: STAGE=deploy npm run travis
deploy: *gh-release
- os: osx
env: COMPONENT=ppx-examples-test
script: STAGE=deploy npm run travis
deploy: *gh-release
- os: osx
env: COMPONENT=ppx-examples-test GENERATION=5
script: STAGE=deploy npm run travis
deploy: *gh-release
env:
- COMPONENT=ppx-examples-test
- COMPONENT=ppx-examples-test GENERATION=5
- COMPONENT=ppx-examples-test GENERATION=latest
- COMPONENT=runtime
- COMPONENT=runtime GENERATION=5
- COMPONENT=runtime GENERATION=latest
# Allow failures on the upcoming major version of BuckleScript
#matrix:
# fast_finish: true
# allow_failures:
# - env: COMPONENT=ppx-examples-test GENERATION=dev
# - env: COMPONENT=runtime GENERATION=dev
os:
- linux
- osx