Skip to content

Commit ed8c01e

Browse files
author
Ace Nassri
committed
Restore travis.yml
1 parent edf4764 commit ed8c01e

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.travis.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Copyright 2015-2016, Google, Inc.
2+
# Licensed under the Apache License, Version 2.0 (the "License");
3+
# you may not use this file except in compliance with the License.
4+
# You may obtain a copy of the License at
5+
#
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS,
10+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
# See the License for the specific language governing permissions and
12+
# limitations under the License.
13+
14+
sudo: false
15+
language: node_js
16+
node_js:
17+
- "6"
18+
- "4"
19+
- "0.12"
20+
21+
cache:
22+
directories:
23+
- node_modules/
24+
25+
env:
26+
global:
27+
- GOOGLE_APPLICATION_CREDENTIALS=$TRAVIS_BUILD_DIR/key.json
28+
- TEST_BUCKET_NAME=nodejs-docs-samples
29+
- GCLOUD_PROJECT=nodejs-docs-samples
30+
31+
before_install:
32+
- openssl aes-256-cbc -K $encrypted_fda0b707c7d5_key -iv $encrypted_fda0b707c7d5_iv -in key.json.enc -out key.json -d
33+
- npm install -g npm
34+
- npm set progress=false
35+
36+
before_script:
37+
- node scripts/install
38+
39+
script: npm test

0 commit comments

Comments
 (0)