Skip to content

Commit

Permalink
🛠️ ci: Cache pip packages to build docs
Browse files Browse the repository at this point in the history
A small improvement to speed up the time it takes for Travis builds to
complete.

Signed-off-by: Justin W. Flory <[email protected]>
  • Loading branch information
jwflory committed Mar 13, 2020
1 parent 5ccc0e5 commit 029c061
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
os: linux
dist: bionic
jobs:
include:
- language: python
python: 3.7
install:
- pip install pipenv
- pipenv install
cache: pip
install: "pip install $(pipenv lock --requirements)"
script: docs/build_docs.sh

notifications:
irc:
channels:
- "ircs://chat.freenode.net:6697/##jwf"
- "ircs://chat.freenode.net:5597/#rit-librecorps"
template:
- "[%{repository_name}:%{branch}@%{commit} - build #%{build_number}] CI %{result}! (%{build_url})"
on_success: change
on_failure: always
# notifications:
# irc:
# channels:
# - "ircs://chat.freenode.net:6697/##jwf"
# template:
# - "[%{repository_name}:%{branch}@%{commit} - build #%{build_number}] CI %{result}! (%{build_url})"
# on_success: change
# on_failure: always

0 comments on commit 029c061

Please sign in to comment.