1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-23 17:00:10 +00:00
HackMyResume/.travis.yml

24 lines
846 B
YAML
Raw Normal View History

2018-01-29 03:34:05 +00:00
sudo: required
before_install:
# Prevents a shared object .so error when running wkhtmltopdf on certain
# platforms (e.g., vanilla Ubuntu 16.04 LTS). Not necessary on current Travis.
# - sudo apt-get install libxrender1
install:
# Install & link HackMyResume
- npm install && npm link
# Download and extract the latest wkhtmltopdf binaries
- mkdir tmp && wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz -O tmp/wk.tar.xz
- tar -xf tmp/wk.tar.xz -C ./tmp
# Copy wkhtmltopdf binaries to /usr/bin (also makes them path-accessible)
- sudo cp -R ./tmp/wkhtmltox/bin/* /usr/bin/
# Now you can invoke "wkhtmltopdf" and "wkhtmltoimage" safely in tests.
- wkhtmltopdf -V
- wkhtmltoimage -V
2015-12-24 23:05:58 +00:00
language: node_js
node_js:
2018-01-26 15:02:26 +00:00
- "6"
- "7"
- "8"
- "9"
- "lts/*"