Skip to content

Commit dbaeef4

Browse files
committed
Update .travis.yml.
1 parent 36c7266 commit dbaeef4

File tree

3 files changed

+17
-21
lines changed

3 files changed

+17
-21
lines changed

.travis-script-2.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
./python2.7/music-organizer.py --help;
3+
./python2.7/mt.py --help;

.travis-script-3.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/sh
2+
./generate-readme.py;
3+
./python3/github-repo-summary.py bamos/python-scripts;
4+
# Requires customization: ./python3/link-checker.py
5+
./python3/phonetic.py github;
6+
./python3/rank-writing.py README.md;
7+
# OSX only: ./python3/get-osx-wallpaper.py
8+
./python3/word-counter.py README.md;
9+
./python3/eval-expr.py '(((4+6)*10)<<2)';
10+
./python3/merge-mutt-contacts.py --help;

.travis.yml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,12 @@ python:
44
- "3.4"
55

66
install:
7-
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then
8-
pip install -r requirements-2.txt;
9-
fi
10-
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then
11-
pip install -r requirements-3.txt;
12-
fi
7+
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then pip install -r requirements-2.txt; fi
8+
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip install -r requirements-3.txt; fi
139

1410
# Ensure `requirements.txt` contains all of the dependencies
1511
# for the scripts and that scripts that only operate on
1612
# command-line arguments can be executed.
1713
script:
18-
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then
19-
./generate-readme.py;
20-
./python3/github-repo-summary.py bamos/python-scripts;
21-
# Requires customization: ./python3/link-checker.py
22-
./python3/phonetic.py github;
23-
./python3/rank-writing.py README.md;
24-
# OSX only: ./python3/get-osx-wallpaper.py
25-
./python3/word-counter.py README.md;
26-
./python3/eval-expr.py '(((4+6)*10)<<2)';
27-
./python3/merge-mutt-contacts.py --help;
28-
if
29-
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then
30-
./python2.7/music-organizer.py --help;
31-
./python2.7/mt.py --help;
32-
fi
14+
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then ./.travis-script-2.sh; fi
15+
- if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then ./.travis-script-3.sh; fi

0 commit comments

Comments
 (0)