Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/sentencepiece.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaku Kudo <taku910@users.noreply.github.com>2018-06-19 19:26:46 +0300
committerGitHub <noreply@github.com>2018-06-19 19:26:46 +0300
commited10037d2dfa3cfce905599e9fa377eed68e35c7 (patch)
treedd8a3cf28f5a0814750d9ace10d1fef6ed20ae52 /test.sh
parentd5293c93e2e49de3f5ef4b6e31ece565b53d9c0c (diff)
Update test.sh
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/test.sh b/test.sh
index 29cc873..4e6b81c 100755
--- a/test.sh
+++ b/test.sh
@@ -93,17 +93,19 @@ build_linux_clang_ubuntu() {
build_osx() {
brew update
brew install protobuf || brew link --overwrite protobuf
- brew link --force python@2
- brew upgrade python
build_generic
make install
cd python
+ # Test default Python
python setup.py test
python setup.py clean
+ # Test Python2
+ /usr/local/bin/python setup.py test
+ /usr/local/bin/python setup.py clean
+ # Upgrade to Python3
+ brew upgrade python
/usr/local/bin/python setup.py test
/usr/local/bin/python setup.py clean
- /usr/local/bin/python2 setup.py test
- /usr/local/bin/python2 setup.py clean
cd ..
}