Skip to content

Commit 855f92c

Browse files
committed
add Python to tests
1 parent 1816c09 commit 855f92c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ env:
1717
- TEST_DIR=js
1818
- TEST_DIR=go
1919
- TEST_DIR=ruby
20+
- TEST_DIR=python
2021

2122
# Test script to run. This is called once for each TEST_DIR value above.
2223
script: ./run_tests.sh

run_tests.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,10 @@ if [ "$TEST_DIR" == "ruby" ]; then
3131
cd ruby && ruby test/plus_codes_test.rb
3232
exit
3333
fi
34+
# Python?
35+
if [ "$TEST_DIR" == "python" ]; then
36+
python python/openlocationcode_test.py
37+
exit
38+
fi
3439

3540
echo "Unknown test directory: $TEST_DIR"

0 commit comments

Comments
 (0)