-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
51 lines (44 loc) · 844 Bytes
/
.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
sudo: false
language: php
# Cache some data across builds for performance.
cache:
apt: true
directories:
- node_modules
# Set the default environment.
env:
global:
- WP_TRAVISCI=travis:phpunit
- WP_VERSION=latest
- WP_MULTISITE=1
notifications:
email:
on_success: never
on_failure: change
slack:
on_pull_requests: true
on_success: change
on_failure: always
on_start: never
on_cancel: always
rooms:
- wsu-ucomm:n2TLZRJd84rMOMbkKthSEMgS
branches:
only:
- master
matrix:
include:
- php: 7.0
env: WP_TRAVISCI=travis:grunt
before_script:
- npm --version
- node --version
- nvm install stable
- npm install -g grunt-cli
- npm install
- npm prune
- npm --version
- node --version
script:
- grunt --version
- grunt default