Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 03f67e6

Browse files
authored
use trusty container in travis-ci; use "artifacts" addon (mochajs#2625)
* try beta trusty container on travis-ci; closes mochajs#2624 * remove unused environment from .travis.yml
1 parent 5178494 commit 03f67e6

File tree

3 files changed

+8
-22
lines changed

3 files changed

+8
-22
lines changed

.travis.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# in order to use 'trusty' dist, need this.
2-
# see https://docs.travis-ci.com/user/trusty-ci-environment/
3-
sudo: required
1+
sudo: false
42

53
# trust dist provides a modern build chain (as opposed to 'precise' dist)
64
# which absolves us from having to install compilers and stuff
@@ -13,9 +11,6 @@ env:
1311
# phantomjs hosts binaries @ bitbucket, which has fairly restrictive
1412
# rate-limiting. pull it from this sketchy site in China instead.
1513
- PHANTOMJS_CDNURL='https://cnpmjs.org/downloads'
16-
# we're going to use s3 to temporarily store Karma test bundles for debugging
17-
- AWS_ACCESS_KEY_ID=AKIAJ3QQTLQXWXYJ6PTA
18-
- secure: k4musDC734E1NFOWaY5qb/l0B9K1cfusFTvMZFayTMs5ubKjeNYCgct2sDSvO5tO7Un935I0sYOOSRPvANPhs8dP1a/8/x0PnwIfnpoCFQCCaI0bWnIQj7nOZ2TaEB/fngZCerCFpNDlzqI6BmaR+XoMvA74v2YD/vVXnzvXNQk=
1914

2015
matrix:
2116
fast_finish: true
@@ -47,11 +42,15 @@ before_script: scripts/travis-before-script.sh
4742

4843
script: make $TARGET
4944

50-
after_script: scripts/travis-after-script.sh
51-
5245
notifications:
5346
urls:
5447
# for gitter
5548
- secure: fUrHenYJs+pTuLtgBRoYyrlyfVekxaIGmLWq7bhUUqBj/7p5eCkQFn13LlPht0/4WWZOiPBcdTN7tKnz3Ho7ATUJhAchvOWDUgL5gtTvOzeCHbPuCvHz/VLK6hMoPdbLA45M864NDLotfHvyh62WgQaVw9iPc80eb+umaDPrYiU=
5649
on_success: change
5750
on_failure: always
51+
52+
addons:
53+
artifacts:
54+
paths:
55+
- .karma/
56+
- ./mocha.js

scripts/travis-after-script.sh

-9
This file was deleted.

scripts/travis-before-script.sh

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
#!/usr/bin/env bash
2-
# installs awscli from pip if $S3 is set
32

4-
if [ ${S3} ]
5-
then
6-
sudo pip install awscli
7-
fi
3+
mkdir -p .karma

0 commit comments

Comments
 (0)