Permalink
Browse files

updating travis

  • Loading branch information...
atooni committed Nov 5, 2018
1 parent 29a18d3 commit d7c5428da11a49fe030692c48eb8f338a49b986c
Showing with 15 additions and 6 deletions.
  1. +1 −0 .gitignore
  2. +7 −4 .travis.yml
  3. +7 −2 upload-results.sh
@@ -9,6 +9,7 @@ libs/
package-lock.json
.bloop
node_modules
target.tgz
blended.sslcontext/notes.txt
@@ -52,14 +52,17 @@ jobs:
before_script: ./dropbox_uploader.sh list
script: sbt cleanCoverage unidoc
after_failure:
- ./upload-results.sh $TRAVIS_JOB_NUMBER
- ./upload-results.sh $TRAVIS_BUILD_NUMBER
after_success:
- ./upload-results.sh $TRAVIS_JOB_NUMBER
- ./upload-results.sh $TRAVIS_BUILD_NUMBER
- stage: Deploy
script: ./runPublish.sh
- stage: Site
before_script: ./dropbox_uploader.sh download travis/$1/target target
script: sbt buildSite
before_script:
- ./dropbox_uploader.sh download travis/$TRAVIS_BUILD_NUMBER/target.tgz target.tgz
- tar -xzf target.tgz
script:
- sbt buildSite
deploy:
provider: pages
local-dir: target/site
@@ -1,4 +1,9 @@
#!/bin/sh
find . -name "TEST*.xml" -printf "./dropbox_uploader.sh upload %p travis/$1/results/%f\n" | sh
./dropbox_uploader.sh upload target travis/$1/target
rm -Rf target/results
mkdir -p target/results
find . -name "TEST*.xml" -printf "cp %p target/results/%f\n" | sh
tar -czf target.tgz target
./dropbox_uploader.sh upload target.tgz travis/$1/target.tgz

0 comments on commit d7c5428

Please sign in to comment.