Skip to content

Commit f8f8882

Browse files
authored
Merge pull request #284 from ASU/7.x-rc
Nevada Release (v1.48)
2 parents 729b2de + 7ed1cf6 commit f8f8882

File tree

262 files changed

+5859
-2290
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

262 files changed

+5859
-2290
lines changed

.travis.yml

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
language: php
22

3-
# Latest version of 5.5.x on travis-ci.org
3+
# PHP 7
44
php:
5-
- 5.5.29
5+
- 7.0
66

7-
# forces old Travis-CI infrastructure
7+
# make sure we test on latest trusty environment
88
sudo: required
9+
dist: trusty
10+
group: edge
11+
12+
# todo: set up artifacts for behat screenshots
13+
#addons:
14+
# artifacts: true
15+
16+
# Cache Composer & Drush directories.
17+
cache:
18+
directories:
19+
- $HOME/.composer/cache
20+
- $HOME/.drush/cache
921

1022
mysql:
1123
database: drupal
@@ -58,13 +70,21 @@ install:
5870
# Build Behat dependencies
5971
- cd profiles/openasu/modules/panopoly/panopoly_test/behat
6072
- composer install --no-interaction
73+
# Build Behat dependencies
74+
- cd ../../../custom/webspark_test/behat
75+
- composer install --no-interaction
76+
6177
- cd /home/travis/build/ASU/webspark-drops-drupal7
6278

6379
# Build Codebase
6480
- mkdir private_files
6581

82+
# create directory for behat screenshots
83+
- mkdir -p sites/default/files/behat_screenshot
84+
- mkdir -p sites/default/files/private/isearch/feeds
85+
6686
# Setup files
67-
- sudo chmod -R 777 sites/all
87+
- sudo chmod -R 777 sites
6888

6989
# Get Selenium
7090
- wget https://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.0.jar
@@ -86,15 +106,16 @@ before_script:
86106
- drush vset --always-set asu_brand_ci_testing 1
87107
# Enable Panopoly Test module
88108
- drush pm-enable panopoly_test --yes
109+
- drush pm-enable webspark_test --yes
89110
- drush cc all
90111
- cd ./profiles/openasu/modules/panopoly/panopoly_test/behat
91112

92113
script:
93-
94114
- bin/behat --colors --tags '~@webspark_ignore' --tags '~@panopoly_demo' --tags '~@panopoly_search' --config behat.travis.yml
115+
- cd ../../../custom/webspark_test/behat
116+
- bin/behat --colors --config behat.travis.yml
95117

96118
after_script:
97-
98119
- sleep 3
99120
- drush pm-disable panopoly_test --yes
100121
# Turn off ASU Brand filtering of GTM snippet

0 commit comments

Comments
 (0)