Skip to content

Commit

Permalink
Travis: Install using requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Gunnar Andersson authored and danielwilms committed Sep 2, 2020
1 parent ea9133b commit 29de85b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
git:
submodules: true

language: python
language: python3

env:
global:
Expand All @@ -13,8 +13,10 @@ env:
install:
- curl -LO https://github.com/gohugoio/hugo/releases/download/v${HUGO_VER}/hugo_${HUGO_VER}_Linux-64bit.deb
- sudo dpkg -i hugo_${HUGO_VER}_Linux-64bit.deb
- pip install pyyaml
- cd ${TOOLS_DIR} && python setup.py -q install && cd ..
- cd ${TOOLS_DIR}
- pip3 install -r requirements.txt
- python3 setup.py -q install
- cd ..

script:
- make clean json deploy
Expand Down

0 comments on commit 29de85b

Please sign in to comment.