This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
72 lines (63 loc) · 1.39 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
66
67
68
69
70
71
72
language: cpp
compiler: gcc
sudo: false
os:
- linux
- osx
matrix:
allow_failures:
fast_finish: true
env:
global:
matrix:
# - export NODE_VERSION="0.12"
- export NODE_VERSION="4"
- export NODE_VERSION="5"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.7
- g++-4.7
before_install:
- git clone https://github.com/creationix/nvm.git ./.nvm
- source ./.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use $NODE_VERSION
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CC="gcc-4.7";
export CXX="g++-4.7";
export LINK="gcc-4.7";
export LINKXX="g++-4.7";
fi
- gcc --version
- g++ --version
- npm install node-gyp -g
- npm install -g coveralls
- npm install -g istanbul
before_script:
script:
- npm install
- npm test
cache:
directories:
- $HOME/.node-gyp
- $HOME/.npm
- node_modules
deploy:
provider: npm
email: [email protected]
api_key:
secure: Z/hpH3P793Abzp9XQGzToXjnG379wKdNbFg1vPIlRHgOUDVILLp+J7aRNCA3RihnahS3EBvlhXc1Rpc+iAW0Dbc6E2g2w5OOAOrgYMIVOf3IrJ9qn3wXD35QUI/pTzHmliExAmvdeHJovf8PlkI7tzgVojfoqCdRs7uiJG6MBUM=
on:
branch: master
repo: eljefederodeodeljefe/node-cpython
notifications:
webhooks:
branch: master
urls:
- https://webhooks.gitter.im/e/20bdfb25eb44f4600ce9
on_success: always
on_failure: always
on_start: false