Skip to content

Commit

Permalink
Fully remove Firefox and zap tests
Browse files Browse the repository at this point in the history
This is a server release, so Firefox tests are not meaningful. The zap image is failing to download, causing failures that aren't related to the code/release itself.
  • Loading branch information
ianb committed May 15, 2018
1 parent 4db7941 commit a06bf6d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,10 @@ test:
# Start the server before all tests:
- node -e 'require("babel-polyfill"); require("./build/server/server");':
background: true
# addon tests
- FIREFOX_CHANNEL=NIGHTLY npm test || true
# server tests
- ./bin/test-request put '{}'
- ./bin/load_test_exercise.py http://localhost:10080
- npm run test:server
# run zap baseline against the server
# Only fail on error code 1, which indicates at least one FAIL was found.
# error codes 2 & 3 indicate WARN or other, and should not break the run
- docker pull owasp/zap2docker-weekly
- >
(
ip="$(ip -f inet -o addr show docker0 | awk '{print $4}' | cut -d '/' -f 1)" &&
docker run -t owasp/zap2docker-weekly zap-baseline.py \
-t http://${ip}:10080 \
-u https://github.com/raw/mozilla-services/screenshots/master/.zap-baseline.conf;
if [ $? -ne 1 ]; then exit 0; else exit 1; fi;
)

post:
- bash <(curl -s https://codecov.io/bash)
Expand Down

0 comments on commit a06bf6d

Please sign in to comment.