-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (30 loc) · 915 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
sudo: required
language: python
python:
- "3.6"
services:
- docker
before_install:
# Set the time zone so the build time in the index.html will be in the
# local timezone.
- export TZ=America/Los_Angeles
# Next run the tests in Travis CI's normal Python environment.
install:
- pip install --upgrade pip
# This also installs ORR's dependencies.
# TODO: make it so we don't need to install any third-party libraries
# since running Docker doesn't require the dependencies.
- pip install -e submodules/osv-results-reporter/src/
script:
# TODO: remove --skip-pdf.
- python generate.py --skip-pdf
deploy:
provider: pages
# The generate.py script builds the output to the following directory.
local_dir: _build
skip_cleanup: true
# This environment variable is set in the settings page of your repository.
github_token: $GITHUB_TOKEN
keep_history: true
on:
branch: master