ci(aio): test aio-builds-setup as part of the `aio` job

This commit is contained in:
Georgios Kalpakas 2017-03-02 00:39:37 +02:00 committed by Chuck Jazdzewski
parent d275667da0
commit 7e67f37fc4
2 changed files with 20 additions and 0 deletions

12
aio/aio-builds-setup/test.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
set -eux -o pipefail
# Constants
SCRIPTS_JS_DIR="`dirname $0`/dockerbuild/scripts-js"
# Test `scripts-js/`
cd "$SCRIPTS_JS_DIR"
yarn install
yarn test
cd -

View File

@ -25,13 +25,21 @@ source ${thisDir}/_travis-fold.sh
travisFoldEnd "test.aio.xvfb-start"
fi
# Run unit tests
travisFoldStart "test.aio.unit"
yarn test -- --single-run
travisFoldEnd "test.aio.unit"
# Run e2e tests
travisFoldStart "test.aio.e2e"
yarn run e2e
travisFoldEnd "test.aio.e2e"
# Run unit tests for aio/aio-builds-setup
travisFoldStart "test.aio.aio-builds-setup"
./aio-builds-setup/test.sh
travisFoldEnd "test.aio.aio-builds-setup"
)