forked from libxmljs/libxmljs
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
50 lines (47 loc) · 856 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
language: node_js
env:
- CXX=g++-4.8
os:
- linux
- osx
node_js:
#- '0.10'
#- '0.12'
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
sudo: false
before_install:
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then export CXX=clang; fi
- $CXX --version
- PUBLISH_BINARY=false
- echo $TRAVIS_BRANCH
- echo `git describe --tags --always HEAD`
- case ${TRAVIS_NODE_VERSION} in 0.8*|0.10*) npm install -g npm@2 ;; esac
- npm config set progress false
- npm config set spin false
- npm install -g node-gyp node-pre-gyp
install:
- npm install --build-from-source
before_deploy:
- node-pre-gyp package 2>&1
deploy:
provider: releases
api_key: $GITHUB_ACCESS_TOKEN
file: build/stage/libxmljs/libxmljs/releases/download/**/*.tar.gz
file_glob: true
skip_cleanup: true
on:
tags: true