forked from Islandora/php_lib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (26 loc) · 744 Bytes
/
.travis.yml
File metadata and controls
26 lines (26 loc) · 744 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
language: php
php:
- 5.3.3
- 5.4
- 5.5
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/php_lib.git
- export ISLANDORA_DIR=$HOME/islandora
- $HOME/islandora/tests/scripts/travis_setup.sh
- cd $HOME/drupal-*
- ln -s $TRAVIS_BUILD_DIR sites/all/modules/php_lib
- drush en --yes --user=1 php_lib
script:
- ant -buildfile sites/all/modules/php_lib/build.xml lint
- $ISLANDORA_DIR/tests/scripts/line_endings.sh sites/all/modules/php_lib
- drush test-run -v --uri=http://localhost:8081 "PHP Lib"