forked from rushilsrivastava/image_search
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (27 loc) · 763 Bytes
/
Copy path.travis.yml
File metadata and controls
33 lines (27 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: python
python:
- "2.7"
- "3.5"
sudo: true
env: DISPLAY=':99.0'
dist: trusty
addons: # get google-chrome-stable
chrome: stable
before_script:
- wget -N http://chromedriver.storage.googleapis.com/2.35/chromedriver_linux64.zip -P ~/
- unzip ~/chromedriver_linux64.zip -d ~/
- rm ~/chromedriver_linux64.zip
- export CHROME_BIN=chromium-browser
- sudo mv -f ~/chromedriver /usr/local/bin/
- sudo chmod a+x /usr/local/bin/chromedriver
- sh -e /etc/init.d/xvfb start
- sleep 3
install: "pip install ."
script:
- image_search google cats --limit 100
- image_search bing cats --limit 100
- image_search google dogs --limit 10 --json
- image_search bing cats --limit 10 --json
- rm -rf dataset/
notifications:
email: false