forked from ocaml-community/sedlex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
65 lines (57 loc) · 2.13 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: FXlYB0nsXDE2DXf+8zAEH7j2pnRxRIHiHZFN0pCDQqTkfOSKHIfhZ1+L0JD8vkV7GtXDBYAiFmVlYZyPTOWSDHKTWROdpe6qsJsV5EJXmREIjmgMUI14SDJITtyXSE7cezPVtKdjwprJtZUHIvKPbFYscM0DF0ayT0NwFqz01aE/DIQk2AWrzcaDzNSnCsYYoJsDtetOLmWXeABHV/ohfrEF1bfurqk8hSLdhDirE7xZm2gr+KgY8tYP3geU4hqVX4tk9xydnxiWGj3N7Z7CBmOLAXDm2sXJT8fjAN/DaorO7EPEZQw4tScmTigGQKrJ0jvNtJ6QpvG3sthFyxpkuhvW0+YGNdco9PcK8aoJGztwbi0+Fc54CfIUGtN/hxTsGWopUOGAAV3R0o91TXB25oNZlzzeSVZx2tbyDHqeP1w3l/9/bLbejBQcgBh0vEx6QDsCZT/c8i/QVOozZD6y50BmaSRdPu/QtAs3IU7cQLCz42l2IYH3gDTjpy1zpblZaHabQ6xfzl95PiodXKekHblypgOWgc+5QNuUo1+kXqIa84KlV4G67EOFKCR+QvnHpVgX9PAnw5K9G4Fp6Uc5og13verN/phSTeW5R08AGx9T5ieEz39g4FrwZSnQzqzbWBwygt9NHHiauUxETI44n3haLgFj0gQVnshZWn4ZSsg=
file_glob: true
file: dist/*
overwrite: true
draft: true
- os: linux
env: COMPONENT=ppx-examples-test NPM_TAG=dev
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 NPM_TAG=dev
script: STAGE=deploy npm run travis
deploy: *gh-release
env:
- COMPONENT=ppx-examples-test
- COMPONENT=ppx-examples-test NPM_TAG=latest
- COMPONENT=ppx-examples-test NPM_TAG=dev
- COMPONENT=runtime
- COMPONENT=runtime NPM_TAG=latest
- COMPONENT=runtime NPM_TAG=dev
# Allow failures on the upcoming major version of BuckleScript
#matrix:
# fast_finish: true
# allow_failures:
# - env: COMPONENT=ppx-examples-test NPM_TAG=dev
# - env: COMPONENT=runtime NPM_TAG=dev
os:
- linux
- osx