GeezerVison is showing github.com — make install of Pillow less verbose and travis config clean up and te… · liang456/DeepLearningTutorials@1ac95d3
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .travis.yml +4-8Lines changed: 4 additions & 8 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
3 | 3 |
|
4 | 4 | language: python |
5 | 5 | python: |
6 | | - - "2.6" |
| 6 | + - "2.5" |
7 | 7 | # - "2.7" |
8 | 8 | # - "3.2" |
9 | 9 | # command to install dependencies |
10 | 10 | before_install: |
11 | 11 | #zlib1g-dev is needed to allow PIL to uncompress the dataset. |
12 | 12 | - sudo apt-get install -qq libatlas3gf-base libatlas-dev zlib1g-dev zip unzip zlibc libzip-dev libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev |
13 | | -# - sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib |
14 | | -# - sudo ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib |
15 | | -# - sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib |
16 | 13 |
|
17 | 14 | install: |
18 | | -#If we don't install numpy before SciPy 0.10.1, the SciPy installations fails. |
19 | 15 | - "pip install -q numpy --use-mirrors" |
20 | | -# - "pip install PIL --use-mirrors" |
21 | | - - "pip install Pillow --use-mirrors" |
22 | | -# - "pip install --no-deps Theano --use-mirrors" |
| 16 | +# Use Pillow instead of PIL as it is better packaged |
| 17 | + - "pip install -q Pillow --use-mirrors" |
| 18 | +#If we don't install numpy before SciPy 0.10.1, the SciPy installations fails. |
23 | 19 | # - "pip install -q scipy --use-mirrors" |
24 | 20 | - "pip install --no-deps git+git://github.com/Theano/Theano.git" |
25 | 21 | script: |
|