-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
48 lines (45 loc) · 1.36 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
sudo: false
language: php
php:
- 5.5
- 5.6
# Set environment variables
node_js:
- "0.12"
services:
- mysql
env:
matrix:
- APP_ENV=testing DB_HOST=localhost DB_DATABASE=madison_testing DB_USERNAME=root
global:
- secure: XPSHwPKz6T6gKRYD8gmBZI1TRU79VpE/puIdIzno3mcVfR9Mt0jR39r759EGOGX94rNo2vjoBlOHLvECSYKl6kn1gjuWQDq8LkOD2QGKO+KmE8GDaED4DFds6EvtoHm/pkFpVBsvjGucU6PEZo4ghxhQAGpuX112V5mj1qmf7g0=
- secure: eRHMypmB5JXiQXwa++FHjbNPg1LnLxJ97HTt/tcL4hrb9KTAioIg4vvOM07PaekLVkZnTtUnOUDDaOlkhSUzjUKaU+fnw4GcUvXTzj73efBSfkoSvWgkquiVCLV+8PJuYkske93ZcR5s91+4oPITQZ4IQVmviaUz3XdLFOgUUFk=
addons:
sauce_connect: true
hosts:
- madison
before_install:
- "export TRAVIS_COMMIT_MSG=\"$(git log --format=%B -n 1 $TRAVIS_COMMIT)\""
before_script:
- nvm install 0.12.7
- npm install -g grunt-cli
- npm install -g bower
- npm install
- grunt install
- mysql -e 'create database madison_testing;'
# Commands you want to run that will verify your build.
script:
#- phpunit
#- grunt karma
- grunt test_firefox
- grunt test_chrome
- grunt test_ie
# TODO: Visit unclickable element issues in Safari
#- grunt test_safari
# allow_failures: Allow this build to fail under the specified environments.
# fast_finish: If your build fails do not continue trying to build, just stop.
matrix:
fast_finish: true
notifications:
on_success: never
on_failure: always