-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
andamian
authored
Mar 12, 2018
1 parent
6a14852
commit 1bbf8c4
Showing
16 changed files
with
958 additions
and
67 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,27 @@ | ||
#!/usr/bin/env bash | ||
# Runs the integration tests for each module (if defined) | ||
|
||
# work only with modules that have integration testing | ||
# (test for presence of intTest directory) | ||
|
||
[ -z "$TRAVIS_INTTEST_PROXY" ] && echo "TRAVIS_INTTEST_PROXY not set - skip integration tests" && exit 0 | ||
|
||
for cert in $(ls travis_inttest_proxy* | grep -v .pem); do | ||
if [ ! -f $cert.pem ]; then | ||
echo "$cert.pem not found" | ||
openssl aes-256-cbc -pass "pass:$TRAVIS_INTTEST_PROXY" -in $cert -out $cert.pem -d -a | ||
fi | ||
done | ||
|
||
for i in $(find . -type d -name intTest | awk -F '/' '{print $2}'); do | ||
echo "Running integration tests for $i module" | ||
cd $i | ||
mkdir intTest/certs | ||
for cert in $(ls ../*.pem); do | ||
cp $cert intTest/certs | ||
done | ||
python setup.py intTest | ||
cd - | ||
echo "Done $i module" | ||
done | ||
|
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.