forked from google/tracing-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (38 loc) · 1.28 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
# Only run against master branch
branches:
only:
- master
# TODO(benvanik): find a way to open a group to receive the mail
notifications:
email:
recipients:
on_success: change
on_failure: change
# Test under all current versions
language: node_js
node_js:
- 0.8
#- 0.9 # disabled until it gets less flaky
# Environment variables.
# Note that some of these are secure variables that must be set by users.
env:
global:
# Currently expecting:
# - SAUCE_ACCESS_KEY=[guid from sauce]
# Set your own with:
# sudo gem install travis
# travis encrypt google/tracing-framework SAUCE_ACCESS_KEY=$SAUCE_ACCESS_KEY
- secure: "wX8PzI1jR0wLWUCpb/HC07qCXLCNxhLMm2JtTcJbU6UyHU2oYUEfvEnnwo5s\n4vXTIzlLvzRxDj/XLSlCxoUaKnPtdxDcEq2+9uH7sLt7RKKXmQgXPyLRoit2\n8shbnYsvHGJJfBnvtLFt+DNa9QgGR9LzFSsM8oHg+TLSeFpYjgM="
# Fetch submodules and install all dependencies.
before_script:
- "./scripts/setup.sh"
script:
# Do a full build to ensure things all work.
# We also lint, because I'm a pedant.
- "./third_party/anvil-build/anvil-local.sh build -j1 :debug :release :lint"
# Build :fast and run all tests.
- "./scripts/run-tests.sh"
# Run a full sauce test, if we have a key.
#- "./scripts/run-saucelabs.sh"