forked from ubccr/xdmod-hardware
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (28 loc) · 916 Bytes
/
Copy path.travis.yml
File metadata and controls
33 lines (28 loc) · 916 Bytes
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
php:
- '5.4'
- '7.0'
- '7.1.6'
env:
global:
- NODE_VERSION=6
- XDMOD_TEST_ARTIFACTS_MIRROR="$HOME/xdmod-test-artifacts.git"
- XDMOD_MAIN_BRANCH="xdmod8.5"
- XDMOD_MODULE_DIR="hardware"
- XDMOD_MODULE_NAME="Hardware"
# 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