aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2015-11-12 22:54:14 -0500
committerTeddy Wing2015-11-12 22:58:44 -0500
commit692e7029d9a461ffa5316aa56d3d28083f8687fe (patch)
treee31553f08aa6b08617c0c4d262c0a9d654193586
parent135614ecefd3bcbc22bdcc07a2649fdbef8c41a0 (diff)
downloadtrufont-692e7029d9a461ffa5316aa56d3d28083f8687fe.tar.bz2
.travis.yml: Use requirements.txtadd-requirements.txt
Install Python dependencies using `requirements.txt` now that it's available.
-rw-r--r--.travis.yml11
1 files changed, 2 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index ec7f327..bf3c5bc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,16 +4,9 @@ dist: trusty
language: python
before_install:
- sudo apt-get update -qq
- - sudo apt-get install -qq -y python3-pyqt5 python3-flake8
- - git clone --depth=1 --branch=python3-ufo3 https://github.com/trufont/robofab
- - git clone --depth=1 --branch=python3-ufo3 https://github.com/trufont/defcon
- - git clone --depth=1 --branch=python3-ufo3 https://github.com/trufont/ufo2fdk
- - git clone --depth=1 https://github.com/behdad/fonttools.git
+ - sudo apt-get install -qq -y python3-pyqt5 python3-pip python3-flake8
+ - sudo pip3 install -r requirements.txt
- export PYTHONCMD=/usr/bin/python3
- - cd fonttools; $PYTHONCMD setup.py install --user; cd ..
- - cd defcon; $PYTHONCMD setup.py install --user; cd ..
- - cd robofab; $PYTHONCMD setup.py install --user; cd ..
- - cd ufo2fdk; $PYTHONCMD setup.py install --user; cd ..
install:
- $PYTHONCMD setup.py install --user
before_script: