language: ruby
sudo: false
#cache: bundler
rvm:
- 2.2.3
env:
  global:
    - PATH=$HOME/.local/bin:$PATH
    - NO_HEADLESS=yes
before_install:
# broken phantom
#- phantomjs -v
#- npm update
#- npm install phantomjs
#- phantomjs -v
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- openssl aes-256-cbc -K $encrypted_d99751a86d14_key -iv $encrypted_d99751a86d14_iv -in etc/deploy.enc -out $HOME/deploy -d
- chmod 600 $HOME/deploy
- pip install virtualenv
- virtualenv /tmp/venv
- source /tmp/venv/bin/activate
- pip install --upgrade pip
- pip install --user linkchecker
- git config --global user.email "wojciech@koszek.com"
- git config --global user.name "Wojciech A. Koszek"
- git remote add github git@github.com:wkoszek/me.git
script:
- cp etc/ssh_config ~/.ssh/config
- source /tmp/venv/bin/activate
- make bootstrap doit pub
addons:
  apt:
    packages:
    - pandoc
    - aspell
    - aspell-en
    - nginx
    - linkchecker
    - libgmp-dev
    - nodejs

sudo: required
group: edge
language: ruby
services:
  - docker

before_install:
- openssl aes-256-cbc -K $encrypted_d99751a86d14_key -iv $encrypted_d99751a86d14_iv -in etc/deploy.enc -out etc/deploy -d
- chmod 600 etc/deploy
- git config --global user.email "wojciech@koszek.com"
- git config --global user.name "Wojciech A. Koszek"
- git remote add github git@github.com:wkoszek/me.git
script:
- docker pull wkoszek/me
- docker run -ti -v .:/me -w /me wkoszek/me
#- cp etc/ssh_config ~/.ssh/config
#- make bootstrap doit pub

Remove old junk and move to docker.
Remove old junk and move to docker.
