forked from ubccr/xdmod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (28 loc) · 888 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
# Use container-based environment for quicker initialization
sudo: false
# Specify the build matrix
language: php
dist: trusty
php:
- '5.4'
- '7.0'
- '7.1.6'
env:
global:
- NODE_VERSION=6
- XDMOD_TEST_ARTIFACTS_MIRROR="$HOME/xdmod-test-artifacts.git"
- XDMOD_IS_CORE=true
- XDMOD_REALMS='jobs,storage,cloud'
# 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/scripts/install.sh
# Delegate the build step to the shared Travis build script
script: .qa/scripts/build.sh