@@ -4,29 +4,12 @@ python:
4
4
- " 3.4"
5
5
6
6
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
13
9
14
10
# Ensure `requirements.txt` contains all of the dependencies
15
11
# for the scripts and that scripts that only operate on
16
12
# command-line arguments can be executed.
17
13
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