Skip to content

Commit

Permalink
DEBUG: testing travis-ci and coveralls parallel integration
Browse files Browse the repository at this point in the history
  • Loading branch information
kaladay committed Jan 4, 2019
1 parent 18a37e9 commit f20690c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
before_script:
- export COVERALLS_PARALLEL=true
- export CI_NAME="travis-ci"
- export CI_BUILD_NUMBER=$TRAVIS_BUILD_NUMBER
- echo "(beforescript) TRAVIS_BUILD_NUMBER = $TRAVIS_BUILD_NUMBER"

# Send final notification to coveralls after all jobs have been completed.
notifications:
Expand All @@ -15,8 +15,7 @@ matrix:
install:
- mvn test-compile -DskipTests=true -Dmaven.javadoc.skip=true -B -V
after_success:
- echo "(matrix-java) TRAVIS_BUILD_NUMBER = $TRAVIS_BUILD_NUMBER"
- mvn clean test cobertura:cobertura jacoco:report coveralls:report -DserviceName="travis-ci" -DserviceBuildNumber=$TRAVIS_BUILD_NUMBER
- mvn clean test cobertura:cobertura jacoco:report coveralls:report -DserviceName=$CI_NAME -DserviceBuildNumber=$TRAVIS_BUILD_NUMBER

- name: "Node Tests"
language: node_js
Expand All @@ -25,14 +24,11 @@ matrix:
- chrome: stable
before_script:
- export DISPLAY=:99.0
- export COVERALLS_PARALLEL=true
- export CI_BUILD_NUMBER=$TRAVIS_BUILD_NUMBER
- sh -e /etc/init.d/xvfb start
- npm start > /dev/null &
- npm run update-webdriver
- sleep 1 # give server time to start
- grunt coverage-preprocess
script:
- echo "(matrix-node) TRAVIS_BUILD_NUMBER = $TRAVIS_BUILD_NUMBER"
- npm run test-ci
- grunt coverage

0 comments on commit f20690c

Please sign in to comment.