Skip to content

Commit

Permalink
Try install node and compiling integtester
Browse files Browse the repository at this point in the history
  • Loading branch information
doolse committed Jun 22, 2017
1 parent 29c10a0 commit cfe8535
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@ cache:
directories:
- "$HOME/.ivy2"
before_install:
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1400x1024x16"
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1400x1024x16"
- wget https://raw.githubusercontent.com/creationix/nvm/v0.31.0/nvm.sh -O ~/.nvm/nvm.sh
- source ~/.nvm/nvm.sh
- nvm install 8.1.2
- npm install -g purescript
- npm install -g bower
- npm install -g pulp
install:
- wget https://s3.amazonaws.com/doolse-subba/equella-deps.zip
- wget https://s3.amazonaws.com/doolse-subba/equella-installer-6.4.zip
Expand All @@ -30,7 +36,8 @@ before_script:
- psql -c 'CREATE DATABASE equellatests WITH OWNER = equellatests;' -U postgres
- export DISPLAY=:99.0
script:
- sbt IntegTester/assembly
- cd IntegTester/ps ; npm run build
- cd $TRAVIS_BUILD_DIR ; sbt IntegTester/assembly
- java -jar IntegTester/target/scala-2.12/IntegTester-assembly-1.0.jar &
- sbt -Dwebdriver.gecko.driver=$TRAVIS_BUILD_DIR/geckodriver -Dwebdriver.firefox.logfile=/dev/null -Dconfig.file=travis.conf installEquella startEquella Tests/test
- sbt -Dwebdriver.gecko.driver=$TRAVIS_BUILD_DIR/geckodriver -Dwebdriver.firefox.logfile=/dev/null -Dconfig.file=travis.conf OldTests/test stopEquella coverageReport
Expand Down
2 changes: 1 addition & 1 deletion IntegTester/ps/bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"purescript-prelude": "^3.0.0",
"purescript-console": "^3.0.0",
"purescript-dispatcher-react": "^2.0.0",
"purescript-dispatcher-react": "^2.1.0",
"purescript-profunctor-lenses": "^3.2.0",
"purescript-globals": "^3.0.0",
"purescript-uri": "^3.0.1",
Expand Down

0 comments on commit cfe8535

Please sign in to comment.