diff --git a/.circleci/config.yml b/.circleci/config.yml index d565f36..ed92c76 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/.circleci/xserver.sh b/.circleci/xserver.sh new file mode 100644 index 0000000..1d09646 --- /dev/null +++ b/.circleci/xserver.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -e + +xvfb-run -a --server-args="-screen 0 800x600x24" $@