-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
42 lines (42 loc) · 882 Bytes
/
.travis.yml
File metadata and controls
42 lines (42 loc) · 882 Bytes
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
language: node_js
node_js:
- node
before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
services:
- xvfb
script:
- cd dist
- zip -r babylon-runtime-$TRAVIS_TAG.zip .
- cd ..
- ls
- node ./tools/npm-publish/prebuildpackage.js
- cd dist.npm
- ls
deploy:
- provider: npm
edge: true
email: "fabien.levavasseur@gmail.com"
api_key: $NPM_AUTH_TOKEN
skip_cleanup: true
on:
tags: true
- provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file:
- '_r.js'
- '_r.js.map'
- '_r.min.js'
- '_r.min.js.map'
- '_r.d.ts'
- '_r.es6.js'
- '_r.es6.js.map'
- '../dist/babylon-runtime-${TRAVIS_TAG}.zip'
skip_cleanup: true
on:
tags: true
- provider: script
script: bash ../tools/discord-bot/new-release.sh success $WEBHOOK_URL
on:
tags: true