-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy path.travis.yml
79 lines (77 loc) · 2.74 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
sudo: required
dist: trusty
language: php
matrix:
include:
#5.3.3 Ubuntu Precise exceptions
- 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"
allow_failures:
- 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"
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
env:
- FEDORA_VERSION="3.5"
- FEDORA_VERSION="3.6.2"
- FEDORA_VERSION="3.7.0"
- FEDORA_VERSION="3.8.1"
branches:
only:
- /^7.x/
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/Islandora/islandora_paged_content.git
- git clone -b 7.x git://github.com/Islandora/islandora_ocr.git
- git clone -b 7.x git://github.com/Islandora/islandora_solution_pack_large_image.git
- git clone -b 7.x git://github.com/Islandora/php_lib.git
- git clone -b 7.x git://github.com/Islandora/islandora_xml_forms.git
- git clone -b 7.x git://github.com/Islandora/objective_forms.git
- export ISLANDORA_DIR=$HOME/islandora
- $HOME/islandora/tests/scripts/travis_setup.sh
- sudo sh $TRAVIS_BUILD_DIR/tests/scripts/adore.sh
- sudo sh $TRAVIS_BUILD_DIR/tests/scripts/tesseract.sh
- cd $HOME/drupal-*
- ln -s $TRAVIS_BUILD_DIR sites/all/modules/islandora_solution_pack_newspaper
- ln -s $HOME/islandora_paged_content sites/all/modules/islandora_paged_content
- ln -s $HOME/islandora_solution_pack_collection sites/all/modules/islandora_solution_pack_collection
- ln -s $HOME/islandora_ocr sites/all/modules/islandora_ocr
- ln -s $HOME/islandora_solution_pack_large_image sites/all/modules/islandora_solution_pack_large_image
- ln -s $HOME/php_lib sites/all/modules/php_lib
- ln -s $HOME/islandora_xml_forms sites/all/modules/islandora_xml_forms
- ln -s $HOME/objective_forms sites/all/modules/objective_forms
- drush dl imagemagick
- drush en --user=1 --yes imagemagick islandora_newspaper islandora_paged_content islandora_basic_collection islandora_ocr xml_form_builder islandora_large_image
- drush vset islandora_ocr_tesseract `which tesseract`
- drush vset islandora_book_tesseract `which tesseract`
script:
- $HOME/islandora/tests/scripts/travis_scripts.sh
- $HOME/islandora/tests/scripts/run_tests.sh "Islandora Newspaper"
notifications:
irc: "irc.freenode.org#islandora"