Skip to content

Commit

Permalink
integration-tests: run test on Travis with Firefox 45 ESR (RF-14294)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiri Stefek committed Jun 14, 2016
1 parent 5307817 commit 702ebc1
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,31 @@ jdk:
- oraclejdk7
- openjdk7

addons:
# download Firefox 45 ESR
firefox: "45.0esr"

before_install:
# override default MAVEN_OPTS
- echo "MAVEN_OPTS='-Xms1g -Xmx2g -XX:MaxPermSize=512m'" > ~/.mavenrc

install: mvn clean install -B -DskipTests=true -s /home/travis/build/richfaces/richfaces/buildhive-settings.xml

script: mvn clean verify -Dintegration=wildfly90 -Dsmoke -s /home/travis/build/richfaces/richfaces/buildhive-settings.xml -Darquillian.maven.settings=/home/travis/build/richfaces/richfaces/buildhive-settings.xml
before_script:
# prepare environment for using of Firefox browser
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
# give xvfb some time to start
- sleep 3
# unpack and add Firefox to PATH
- echo "Extracting firefox and setting PATH variable..."
- tar -xjf /tmp/firefox-45.0esr.tar.bz2 --directory /tmp
- export PATH="/tmp/firefox:$PATH"
# log used version of Firefox
- echo "Using firefox version `firefox --version`"

# use WildFly 9 so it can run with Java 7 (WildFly 10 requires Java 8)
script: mvn verify -Dintegration=wildfly90 -Dsmoke -s /home/travis/build/richfaces/richfaces/buildhive-settings.xml -Darquillian.maven.settings=/home/travis/build/richfaces/richfaces/buildhive-settings.xml -Dbrowser=firefox

cache:
directories:
Expand Down

0 comments on commit 702ebc1

Please sign in to comment.