Skip to content

Commit a87c1c8

Browse files
committed
let's add keras
1 parent 9c4ccbc commit a87c1c8

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ python: # Only two versions for now
1010
install: "pip install -r requirements.txt"
1111

1212
script:
13-
- sed -i -- 's/range(total_batch)/range(1)/g' lab-*.py # change range to 1 for quick testing
14-
- sed -i -- 's/plt.show/#plt.show/g' lab-*.py # change range to 1 for quick testing
15-
- sed -i -- 's/plt.plot/#plt.plot/g' lab-*.py # change range to 1 for quick testing
13+
- sed -i -- 's/range(total_batch)/range(1)/g' *lab-*.py # change range to 1 for quick testing
14+
- sed -i -- 's/plt.show/#plt.show/g' *lab-*.py # change range to 1 for quick testing
15+
- sed -i -- 's/plt.plot/#plt.plot/g' *lab-*.py # change range to 1 for quick testing
1616
- python lab-07-2-learning_rate_and_evaluation.py # run this first to download the MNIST file
1717
# run all python files in parallel, http://stackoverflow.com/questions/5015316
1818
# The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising the same exception over and over).
19-
# - ls lab-*.py|xargs -n 1 -P 2 python > /dev/null
20-
- for f in lab-*.py; do echo "$f"; python "$f" > /dev/null; done
19+
# - ls *lab-*.py|xargs -n 1 -P 2 python > /dev/null
20+
- for f in *lab-*.py; do echo "$f"; python "$f" > /dev/null; done
2121
- pytest

0 commit comments

Comments
 (0)