forked from textbook/flash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (34 loc) · 983 Bytes
/
.travis.yml
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
34
35
36
37
38
39
40
41
dist: bionic
addons:
apt:
sources:
- sourceline: 'deb [arch=amd64] http:https://dl.google.com/linux/chrome/deb/ stable main'
key_url: 'https://dl.google.com/linux/linux_signing_key.pub'
packages:
- google-chrome-stable
services:
- xvfb
language: python
python:
- '3.7.4'
before_install:
- wget "https://chromedriver.storage.googleapis.com/$(curl https://chromedriver.storage.googleapis.com/LATEST_RELEASE)/chromedriver_linux64.zip"
- unzip chromedriver_linux64.zip
- sudo mv chromedriver /usr/local/bin
- sudo chmod a+x /usr/local/bin/chromedriver
install:
- pip install -r requirements.txt
- pip install coveralls
script:
- coverage run --source=flash setup.py test
- docker build . -t textbook/flash
after_success: coveralls
deploy:
- provider: cloudfoundry
edge: true
api: https://api.run.pivotal.io
username: $CF_USERNAME
password: $CF_PASSWORD
organization: $CF_ORGANIZATION
space: $CF_SPACE
manifest: manifest.yml