Add travis.yml for building binaries.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
c8cd618df9
commit
ad96e10938
6 changed files with 50 additions and 2 deletions
11
script/travis/build-binary
Executable file
11
script/travis/build-binary
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||
script/build-linux
|
||||
# TODO: add script/build-image
|
||||
else
|
||||
script/prepare-osx
|
||||
script/build-osx
|
||||
fi
|
||||
10
script/travis/ci
Executable file
10
script/travis/ci
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||
tox -e py27,py34 -- tests/unit
|
||||
else
|
||||
# TODO: we could also install py34 and test against it
|
||||
python -m tox -e py27 -- tests/unit
|
||||
fi
|
||||
9
script/travis/install
Executable file
9
script/travis/install
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||
pip install tox==2.1.1
|
||||
else
|
||||
pip install --user tox==2.1.1
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue