forked from taskcluster/taskcluster-hooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (36 loc) · 1.73 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
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
env:
global:
- CXX=g++-4.8
- DEBUG='* -superagent -express:* -mocha:* -babel -eslint*'
language: node_js
node_js:
- 8
services:
- rabbitmq
script: npm test
before_install:
# unpack the secrets, but only if this is not a pull request; otherwise, the tests will run with no credentials
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then openssl aes-256-cbc -K $encrypted_34d7be19243e_key -iv $encrypted_34d7be19243e_iv -in user-config.yml.enc -out user-config.yml -d; fi'
cache:
directories:
- node_modules
# encrpyt channel name to get around issue
# https://github.com/travis-ci/travis-ci/issues/1094
notifications:
irc:
channels:
# encrpyted string was "irc.mozilla.org#taskcluster-bots"
- secure: "apHHdUi42TDluQ9T0x6Tz/pw/z9reiaIj6Jn4DsqfiPUJqe69msEnzKnaIrKl//dDVa3IClXxpTnAOQ8Z2sJltJR6uazyEGXlTEwsx+umfGhI60ZfkhOLKpZ7kvAsNnxrgGLMsx2WIrLm20j1I1HGJcImsiZw9zw0Bcactz3NGi0V75TlvjrdtDSsXT84DGSVe0gumX9QHTsdiHbJAJZbWRMVrR6QVKmxAD54kQwi3R5twZsvxvBW8B0wSviNZv1VpUYOO93tRCj7hnmLLbZgvjSG22D7XHl+d3FX7PHdIU2GKS/TpbrtP+q5BUEqBD6e4XD8g5inhkqoe8DuKlN8f5jldjFWXIDmzoYAhUvWeoy4vG6XeRUQBKN1VL4yt7Iq0y3SzKWvrDycoqLR9hdrL7WbVFJWPoHIUo3do21c0iGNxCOGSZcr8zL/hdQZ4uAIkKUdtsimoDDAATKqm8rtD4Ns+KdxNk/j5oj2Z3cENi6gPXoSafwa4tFeSvWLCmcWHdu4VT9VUHK20ypvFPoywJEub+fPxOIz82T5y4UQ+NmPHmu3lnrM/ZfPG27kadqNmyETxplsu5MP3DjPrlddifOjTCMrX0wuanC0VMBl6gtcKLWSwJvwOcZWQ4WutcSFyOfLsly6489+kAFXRaYyoIE19Pqe1ya8xiVvh1j2MY="
on_success: change
on_failure: always
template:
- "%{repository}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
- "Change view : %{compare_url}"
- "Build details : %{build_url}"
- "Commit message : %{commit_message}"