forked from ubccr/xdmod-supremm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (27 loc) · 875 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
# Use container-based environment for quicker initialization
sudo: false
# Specify the build matrix
language: php
php:
- '5.4'
- '7.0'
- '7.1.6'
env:
global:
- NODE_VERSION=6
- XDMOD_TEST_ARTIFACTS_MIRROR="$HOME/xdmod-test-artifacts.git"
- XDMOD_MODULE_DIR="supremm"
- XDMOD_MODULE_NAME="SUPReMM"
# Add dependency directories to the Travis cache
cache:
directories:
- $HOME/.npm
- $HOME/.composer/cache
- /tmp/pear/cache
- $XDMOD_TEST_ARTIFACTS_MIRROR
# Obtain the shared QA assets before using them.
before_install: git clone --depth=1 --branch="v1" https://github.com/ubccr/xdmod-qa.git .qa
# Delegate the installation step to the shared Travis installation script
install: .qa/travis/install.sh
# Delegate the build step to the shared Travis build script
script: .qa/travis/build.sh