Skip to content
This repository was archived by the owner on Sep 5, 2020. It is now read-only.

Commit

Permalink
xvfb-run config
Browse files Browse the repository at this point in the history
  • Loading branch information
evertonfraga committed Mar 14, 2018
1 parent 5f66ef4 commit 2f4426f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
# TODO: store_artifacts
# TODO: store_test_results
# TODO: one docker image per arch
# TODO: improve caching
# TODO: mac job
# TODO: windows job
# TODO: build .deb or .AppImage
#

# Javascript Node CircleCI 2.0 configuration file
Expand Down Expand Up @@ -41,6 +45,9 @@ jobs:
# Setting variable to fix node-gyp build error: https://github.com/nodejs/node/issues/7173#issuecomment-224772258
- run: export CXX_host="g++ -m32"

# Video config for testing
# - run: export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start

# Installing multilib (build for 32 and 64 architectures): https://www.quora.com/How-do-I-fix-fatal-error-sys-cdefs-h-file-not-found-include-sys-cdefs-h
- run: sudo apt-get install --no-install-recommends -y gcc-multilib g++-multilib

Expand All @@ -60,4 +67,4 @@ jobs:
# run tests!
- run: yarn test:unit:once
- run: gulp --linux
- run: gulp test
- run: xvfb-run gulp test

0 comments on commit 2f4426f

Please sign in to comment.