forked from ushahidi/platform-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (58 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
sudo: false
notifications:
hipchat:
rooms:
secure: LW5XPoH6eOe/VPAVg1vOUk0jvWm662w8R30Wna0ZtcE2ZV40EHmyJfY7PLDA3/o/wme0vHhZh+cKWjbHbhF7RFrYAkNl6RLgmRkvMhaI/UKpztWRfIuopiJg2snHT0bH3nODm/2l9iSyhBc39lpxARFAhsUoN6j5zLyLyqfA7Xg=
template:
- '<a href="%{build_url}">%{repository}#%{build_number}</a> (%{branch} - <a href="%{compare_url}">%{commit}</a>
: %{author}): %{message}'
format: html
notify: true
slack:
secure: MG3wEGLelQgasOVa5SyNbIfGWpvsmKZPF9moTrbLSrDgMptMxThSIDfVuAHvpBGsOw9o+izbTD26sbt1OQE9A9ipJfxUxZ+/LmYvaG0rSWvYEX9dIw9qp84pFyqwuO7nZlReeM7Ye9A2hYTBCZjqUsg8pwUlUUv065X3Qhp2IbY=
#addons:
# sauce_connect: true
language: node_js
matrix:
include:
# Run everything with v5 (match production)
# Skip e2e test during mustang build
#- node_js: 5
# env: TEST_SUITE=e2e
- node_js: 5
env: TEST_SUITE=lint
- node_js: 5
env: TEST_SUITE=unit
# Run unit test with 0.12 and current stable too
- node_js: 0.12
env: TEST_SUITE=unit
- node_js: stable
env: TEST_SUITE=unit
fast_finish: true
cache:
directories:
- node_modules
install:
- npm install -g gulp
- npm install
before_script:
- test/pre_test.sh
script:
- test/test.sh
after_script:
- gulp send-stats-to-coveralls
### Deploy files now generated by Codeship
# before_deploy:
# - gulp release --version-suffix=${TRAVIS_TAG:-$TRAVIS_COMMIT}
# deploy:
# - provider: releases
# api_key:
# secure: Txqa+XwZOOdAaxRckHGXSCkT7GEUh4R6R0MtTu8otA1Vv2/W5qTICuFnaEzV/FVWrSzYbMwM+mAFHQ1L8SXOnAvbSFwnjaOjIvaEUESItkSITDXncTJItJatzMUXT0SjRTm4Jy6LQ0Pq0qXxfWD6DzsWxPVPsthprb+aEzS0/m8=
# file: build/*
# file_glob: true
# skip_cleanup: true
# on:
# repo: ushahidi/platform-client
# node: 0.12
# tags: true
# all_branches: true