@@ -4,21 +4,29 @@ python:
4
4
- " 3.4"
5
5
6
6
install :
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
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
9
13
10
14
# Ensure `requirements.txt` contains all of the dependencies
11
15
# for the scripts and that scripts that only operate on
12
16
# command-line arguments can be executed.
13
17
script :
14
- - [[ $TRAVIS_PYTHON_VERSION == 3* ]] && ./generate-readme.py
15
- - [[ $TRAVIS_PYTHON_VERSION == 2* ]] && ./python2.7/music-organizer.py --help
16
- - [[ $TRAVIS_PYTHON_VERSION == 2* ]] && ./python2.7/mt.py --help
17
- - [[ $TRAVIS_PYTHON_VERSION == 3* ]] && ./python3/github-repo-summary.py bamos/python-scripts
18
- # Requires customization: ./python3/link-checker.py
19
- - [[ $TRAVIS_PYTHON_VERSION == 3* ]] && ./python3/phonetic.py github
20
- - [[ $TRAVIS_PYTHON_VERSION == 3* ]] && ./python3/rank-writing.py README.md
21
- # OSX only: ./python3/get-osx-wallpaper.py
22
- - [[ $TRAVIS_PYTHON_VERSION == 3* ]] && ./python3/word-counter.py README.md
23
- - [[ $TRAVIS_PYTHON_VERSION == 3* ]] && ./python3/eval-expr.py '(((4+6)*10)<<2)'
24
- - [[ $TRAVIS_PYTHON_VERSION == 2* ]] && ./python3/merge-mutt-contacts.py --help
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
0 commit comments