archive
/
md-pdf-rs
Archived
1
Fork 0

Run command with virtual X server

This commit is contained in:
Jake Howard 2017-09-01 20:29:05 +01:00
parent 69a5a04baa
commit b83a2d97f3
Signed by: jake
GPG Key ID: 57AFB45680EDD477
2 changed files with 7 additions and 2 deletions

View File

@ -23,8 +23,8 @@ jobs:
- ~/.cargo
- run: make test
- run:
command: cargo run -- build
command: ./.circleci/xserver.sh cargo run -- build
working_directory: ~/md-pdf/test-files
- run:
command: cargo run --release -- build
command: ./.circleci/xserver.sh cargo run --release -- build
working_directory: ~/md-pdf/test-files

5
.circleci/xserver.sh Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -e
xvfb-run -a --server-args="-screen 0 800x600x24" $@