This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
65 lines (53 loc) · 1.9 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#islandora_web_annotations
sudo: required
dist: trusty
language: php
php:
- 5.4
- 5.5
matrix:
include:
- php: "5.3.3"
dist: precise
env: FEDORA_VERSION="3.5"
- php: "5.3.3"
dist: precise
env: FEDORA_VERSION="3.6.2"
- php: "5.3.3"
dist: precise
env: FEDORA_VERSION="3.7.0"
- php: "5.3.3"
dist: precise
env: FEDORA_VERSION="3.8.1"
branches:
only:
- 7.x
env:
- FEDORA_VERSION="3.5"
- FEDORA_VERSION="3.6.2"
- FEDORA_VERSION="3.7.0"
- FEDORA_VERSION="3.8.1"
before_install:
- cd $HOME
- git clone -b 7.x git://github.com/Islandora/islandora.git
- git clone -b 7.x git://github.com/Islandora/islandora_solution_pack_collection.git
- git clone -b 7.x git://github.com/mjordan/islandora_context.git
- export ISLANDORA_DIR=$HOME/islandora
- $HOME/islandora/tests/scripts/travis_setup.sh
- cd $HOME/drupal-*
- ln -s $TRAVIS_BUILD_DIR sites/all/modules/islandora_web_annotations
- ln -s $HOME/islandora_solution_pack_collection sites/all/modules/islandora_solution_pack_collection
- ln -s $HOME/islandora_context sites/all/modules/islandora_context
- drush en --user=1 --yes islandora_web_annotations
- drush en --user=1 --yes islandora_context
- drush dl --user=1 --yes context
- drush en --user=1 --yes context
- drush dl --user=1 --yes context_addassets
- drush en --user=1 --yes context_addassets
script:
- ant -buildfile sites/all/modules/islandora_web_annotations/build.xml lint
- $ISLANDORA_DIR/tests/scripts/line_endings.sh sites/all/modules/islandora_web_annotations
# Temporarily commenting out coder-review line while issue with development vagrant is
# resolved. See https://github.com/Islandora-Labs/islandora_vagrant/issues/119
# - drush coder-review --reviews=production,security,i18n,potx islandora_web_annotations
- phpcpd --names *.module,*.inc,*.test sites/all/modules/islandora_web_annotations