-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
41 lines (41 loc) · 1.3 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
language: php
matrix:
include:
# Manual-built PHP 5.3.3 envs.
- 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.4
- 5.5
- 5.6
- 7.0
- 7.1
branches:
only:
- 7.x
env:
- FEDORA_VERSION="3.5"
- FEDORA_VERSION="3.6.2"
- FEDORA_VERSION="3.7.0"
before_install:
- cd $HOME
- git clone -b 7.x git://github.com/Islandora/islandora.git
- export ISLANDORA_DIR=$HOME/islandora
- $HOME/islandora/tests/scripts/travis_setup.sh
- cd $HOME/drupal-*
- git clone -b 7.x git://github.com/discoverygarden/islandora_access_override.git sites/all/modules/islandora_access_override
- ln -s $TRAVIS_BUILD_DIR sites/all/modules/islandora_ip_embargo
- drush en --yes islandora_ip_embargo
script:
#- ant -buildfile sites/all/modules/islandora_ip_embargo/build.xml lint TOTO: we need to set this up for jenkins
- $ISLANDORA_DIR/tests/scripts/line_endings.sh sites/all/modules/islandora_ip_embargo
- drush coder-review --reviews=production,security,style,i18n,potx,sniffer islandora_ip_embargo
- phpcpd --names *.module,*.inc,*.test sites/all/modules/islandora_ip_embargo
- drush test-run --uri=http://localhost:8081 "Islandora IP Embargo"