-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
43 lines (43 loc) · 1.82 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
language: node_Js
node_js: '0.10'
addons:
sauce_connect:
- username: $SAUCE_USERNAME
- access_key: $SAUCE_ACCESS_KEY
install:
- npm install -g grunt-cli testem coffee-script
- npm install
- python bootstrap.py --version 2.1.1
- bin/buildout
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- gem install travis-artifacts
after_script:
- travis-artifacts upload --path html --target-path docs
- travis-artifacts upload --path *.png
- travis-artifacts upload --path log.html
- travis-artifacts upload --path report.html
- travis-artifacts upload --path output.xml
script:
- grunt test$TARGET
- grunt sphinx-build
- grunt sphinx-test
env:
global:
- ARTIFACTS_S3_BUCKET=citynavigator
- secure: DZ7Ec4tX9L06hmL0UDu+ThOD8EKzpyXKsP4wmoDhCnRFIjVTdXsjZFUHqWUP25VHlIC4ocw2pAiKETZ9LT+vojrbTpVM6o7fDB104IPZY/wwox4F6lIwQzn7BqC2TytTsP/z+yFwXcsCjXpxMkii5S05Q4k4hEelgF7Fs4w2F2A=
- secure: QlhJLIilkkBI4MYDa2vxLT0rIim6WXFPusCxbsIVLpOnsVrvP1B0HFllRODnDrI107ORY6FO7t6S71/YQpeu+wC5lVJMzN3/JMlBGtR524v7r3et5snZYm69wFGlqe2/hxivrMZe5bbU//hcI5MCl+2EFa05GugPf/ThJyv89LA=
- secure: cV9IBRSj8ua38IHNIEbksM5BcyioHs3Xc34ER/ndWJQsn9qNQ/3yNK1s7TG8+L9BkcpUNSE4bt4owT4oujNG4pZKh9AxyWuXgCd9/rq0l2BcqZFCPNg6xvCuOrkUx475iwECFzxj63Ja8A7Z0EzGwRz7hG7RDTsOlCQTqtlPaug=
- secure: arm0+X+HLa4bPZir3gYCpLEBGijpcsjoPHMhWNKemWY774pcgaenEHeF09GumRC/3MbjFiyIHwssTb09qtbXVVI7d1eTEjJusGQankdGp/KNJ+gzC9WAlP03gXLbd/q+ZoTBd5T/jdeTSPYmkWjss8h8YtS1UlFW1lqObtj6VsQ=
matrix:
- TARGET=
- TARGET=-robot
notifications:
irc:
channels:
- irc.freenode.org#hsldevcom
template:
- ! '%{repository}#%{build_number} (%{branch} | %{commit} | %{author}): %{message}'
- ! 'Tests: http://citynavigator.s3-website-us-east-1.amazonaws.com/artifacts/%{build_number}/%{build_number}.1/report.html'
- ! 'Docs: http://citynavigator.s3-website-us-east-1.amazonaws.com/docs'