-
-
Notifications
You must be signed in to change notification settings - Fork 109
/
.travis.yml
28 lines (28 loc) · 639 Bytes
/
.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
os: osx
osx_image: xcode8.2
language: node_js
before_install:
- brew update
- brew install gnu-tar graphicsmagick rpm
node_js:
- "6"
script:
- npm run lint
- npm run build-mac
- npm run build-linux
- export VERSION=$(echo $TRAVIS_TAG | tr -d "v")
deploy:
- provider: releases
api_key: $GITHUB_ACCESS_TOKEN
file:
- "releases/ndm-$(echo $VERSION).dmg"
- "releases/ndm-$(echo $VERSION)-mac.zip"
- "releases/ndm-$(echo $VERSION).zip"
skip_cleanup: true
on:
tags: true
- provider: script
script: conf/linux.sh $VERSION $GEMFURY_TOKEN
skip_cleanup: true
on:
tags: true