Try application on CI
This commit is contained in:
parent
56c55e005b
commit
1107fe3646
2 changed files with 26 additions and 0 deletions
18
.travis.yml
Normal file
18
.travis.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
sudo: false
|
||||
language: python
|
||||
python: "3.6"
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- pandoc
|
||||
- pandoc-citeproc
|
||||
|
||||
before_install:
|
||||
- bash scripts/before_script.sh
|
||||
|
||||
install:
|
||||
- python3 setup.py install
|
||||
|
||||
script:
|
||||
- cd test-files && mdp -vvv
|
8
scripts/before_script.sh
Normal file
8
scripts/before_script.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
sudo apt-get install -y openssl build-essential xorg libssl-dev
|
||||
wget http://download.gna.org/wkhtmltopdf/0.12/0.12.3/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
|
||||
tar -xJf wkhtmltox-0.12.3_linux-generic-amd64.tar.xz
|
||||
cd wkhtmltox
|
||||
sudo chown root:root bin/wkhtmltopdf
|
||||
sudo cp -r * /usr/
|
Reference in a new issue