Skip to content

Commit

Permalink
Remove unnecessary Travis setup. (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbah authored and dgrove-oss committed Jul 12, 2018
1 parent 6d61c59 commit bbc9ad9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 162 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ before_install:
- "./tools/travis/setup.sh"
install: true
script:
- "./tools/travis/build.sh && ./tools/travis/deploy.sh && ./tools/travis/test.sh"
- "./tools/travis/build.sh && ./tools/travis/test.sh"
deploy:
- provider: script
script: "./tools/travis/publish.sh openwhisk ${TRAVIS_TAG%@*} ${TRAVIS_TAG##*@}"
Expand Down
54 changes: 0 additions & 54 deletions ansible/environments/local/group_vars/all

This file was deleted.

29 changes: 0 additions & 29 deletions ansible/environments/local/hosts

This file was deleted.

26 changes: 6 additions & 20 deletions tools/travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,31 +27,17 @@ UTILDIR="$ROOTDIR/../incubator-openwhisk-utilities"

export OPENWHISK_HOME=$WHISKDIR

IMAGE_PREFIX="testing"

# run scancode using the ASF Release configuration
cd $UTILDIR
scancode/scanCode.py --config scancode/ASF-Release.cfg $ROOTDIR

# Build OpenWhisk
# Build OpenWhisk deps before we run tests
cd $WHISKDIR

# pull down images
docker pull openwhisk/controller
docker tag openwhisk/controller ${IMAGE_PREFIX}/controller
docker pull openwhisk/invoker
docker tag openwhisk/invoker ${IMAGE_PREFIX}/invoker
docker pull openwhisk/nodejs6action
docker tag openwhisk/nodejs6action ${IMAGE_PREFIX}/nodejs6action

TERM=dumb ./gradlew \
:common:scala:install \
:core:controller:install \
:core:invoker:install \
:tests:install
TERM=dumb ./gradlew install
# Mock file (works around bug upstream)
echo "openwhisk.home=$WHISKDIR" > whisk.properties
echo "vcap.services.file=" >> whisk.properties

# Build runtime
cd $ROOTDIR
TERM=dumb ./gradlew \
distDocker \
-PdockerImagePrefix=${IMAGE_PREFIX}
TERM=dumb ./gradlew distDocker
54 changes: 0 additions & 54 deletions tools/travis/deploy.sh

This file was deleted.

4 changes: 0 additions & 4 deletions tools/travis/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ ROOTDIR="$SCRIPTDIR/../.."
WHISKDIR="$ROOTDIR/../openwhisk"

export OPENWHISK_HOME=$WHISKDIR

cd ${ROOTDIR}
TERM=dumb ./gradlew :tests:checkScalafmtAll
TERM=dumb ./gradlew :tests:test



0 comments on commit bbc9ad9

Please sign in to comment.