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

Commit

Permalink
Add build.bash for Jenkins build.
Browse files Browse the repository at this point in the history
  • Loading branch information
brndnmtthws committed Sep 21, 2016
1 parent 99e7a3c commit c5f0459
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.git
build.bash
tests
hooks
scripts
Expand Down
13 changes: 13 additions & 0 deletions build.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

set -o errexit -o nounset -o pipefail

if [ $label == 'py27' ]; then
PIPCMD='pip'
else
PIPCMD='pip3'
fi

$PIPCMD install -r requirements.txt -r requirements-dev.txt nose

PYTHONPATH=. nosetests

0 comments on commit c5f0459

Please sign in to comment.