Welcome to mirror list, hosted at ThFree Co, Russian Federation.

travis-after-script.sh « scripts « mocha-3.1.2 « lib « tests - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e93c98f796ae5bcea10fc54f9157d8d786b1d590 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash
# syncs Karma test bundles to S3 if $S3 is set

if [ ${S3} ]
then
  mkdir -p .karma/${TRAVIS_JOB_NUMBER}
  cp ./mocha.js ".karma/${TRAVIS_JOB_NUMBER}/mocha.js"
  aws s3 sync ".karma/${TRAVIS_JOB_NUMBER}" "s3://mochajs/karma-bundles/${TRAVIS_JOB_NUMBER}"
fi