forked from gagern/node-libtidy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
52 lines (52 loc) · 1.49 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
language: node_js
os:
- linux
- osx
node_js:
- "4"
- "5"
- "6"
- "7"
- "8"
- "9"
- lts/*
- stable
sudo: false
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
env:
- CC=gcc-4.8 CXX=g++-4.8
before_install:
- |
if [[ ${TRAVIS_OS_NAME} == osx ]]; then
export CXX=clang
export CC=clang
fi
- $CC --version
- $CXX --version
- env
install:
- npm install --build-from-source
before_deploy:
- node_modules/.bin/node-pre-gyp package
deploy:
provider: releases
tag_name: $TRAVIS_TAG
draft: true
api_key:
secure: m+4BLS1/qkn1h//I41aBEAYaTMTFF1uN9KjWqvfDuN8zcQPWIMjkCyBeRtsmgzwtALmRox2WHtrCNjlzxR55i7jS3bI8TD9IqPA34XRtWge2SLuKcuZ/kvKJYhZnoKvX9fLWEZUICwdybGBK6q3CGpEQvBF0Qdvo5T3Xy2qGi30g+HtHJNvedbSkC05/zB8JkLkWEzmBpHZThudrvY8lVyeZ33sszi4QnrKiSyssJPx2cp7sxmUzYTkKO84I+rp/GiamREyD7Bz3rA8//sNlPpdkRr5j65f3WIFAYq6pxDjTFWz8GV4PtH2r7EW5r1NqmUDNILMqGM4Vq2ycG7OtQpewu8uR4c7KT61wQLm/S1hlnf5/w1nsHcaXVstrtn2FgBG9IrkDH5PyCwKIURL+dNE/BqJ2lnqFWCSWPaBG2KhGp+FZewmFBeBTcHrqiMV9tNyLcUtcSAPDpBDpYrJyESTGyZ1P5cUwX6bfb2QT7apyTtVoF6TEuZeV1uTv5UpMd/PRdru9LOuUjsOBxAaxpXDtY0vHQcvWWAR2ymTeDkFjdVJo6DTxOsJixfUGC3+1bd/crZuCFkYdm0tB32AnPlYqLQsZ7RBnjFJqMbimFLZdI2z+c30tdin1Tq+BafPmujEkqYpKWToRusJVYtupLGgarwiK2+qKAIInxA5+aS0=
file: build/stage/gagern/node-libtidy/releases/download/**/*.tar.gz
file_glob: true
skip_cleanup: true
on:
repo: gagern/node-libtidy
tags: true
condition: >
${TRAVIS_TAG} == v*([0-9]).*([0-9]).*([0-9])
&& ${TRAVIS_NODE_VERSION} == [0-9]*