-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from pachyderm/travis
CI
- Loading branch information
Showing
4 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
dist: xenial | ||
language: go | ||
go: | ||
- "1.13.1" | ||
|
||
# workaround for travis not handling ssh git urls well: | ||
# https://stackoverflow.com/a/24600210/202309 | ||
git: | ||
submodules: false | ||
before_install: | ||
- ./etc/travis_before_install.sh | ||
script: | ||
- ./etc/travis_test.sh | ||
|
||
before_cache: | ||
# Travis can't cache files that are not readable by "others" | ||
- chmod -R a+r ${GOPATH}/pkg | ||
cache: | ||
directories: | ||
- $${GOPATH}/pkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
|
||
sudo apt-get update | ||
sudo apt-get -y install python-virtualenv | ||
|
||
sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules | ||
git submodule update --init --recursive | ||
|
||
pushd ./conformance/s3-tests | ||
./bootstrap | ||
source virtualenv/bin/activate | ||
pip install nose-exclude==0.5.0 | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
|
||
make ./conformance/s3-tests | ||
|
||
pushd examples/sql | ||
make run & | ||
make conformance-test | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters