Skip to content

Commit

Permalink
Fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolayMakhonin committed Sep 1, 2019
1 parent e1f7689 commit c8492a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions .idea/dictionaries/Mika.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ addons:
# browserstack:
# username: "nikolaymakhonin1"
# access_key:
# # You shoud generate this for each repositories.
# # You should generate this for each repositories.
# # See: https://docs.travis-ci.com/user/encryption-keys
# secure: "Z/pTlHdmPQ5Ge51yzuRau1QKxd6FrB+vlkaKlpltqfxdTC96d2Z2H5tXvOM8W0QJM56Rne+KJ97T3qvqNhLKCgXgsaRqCiKMeJ6dWXl5AQk9PFq1zCJWOuQdt8mQJ6Zi6Y/leZBaOUAL/7mqrg0GkgL2Ck5j6n7AcWymHb40QvMV3BmYIiEi1i4FRuJ+w8ULLYT7RbgQq7IMZNmP9s57giaSAlxEIHHpBoGyP7wVecZHPVfjh2pmkBkq7wCYX4KzyriHde3y3R1h7Y7ZM5RXtyboscYM4fcwg6/qslq00MVfCDI+5zud+/O8b9Y1F/I/gUoVZByhQJA0WtUGsOBMLpS76OWPZX7b2UmyYBw8BOyal5rV8V+mbEqtFksyeGBI/bkRD6wllxPd/uJ+qOMvet4H8DnpxeJnq/h0asMRvar6dWtl2BjNNWawYVicxCUvY2/aPMYxjRYTIem8jfwfCKgVuiThNrPR4A8tVPESEE727JsEaLKPWTvJ2DLjOURXoUsWBnHYunyibUuYGgox4Lfl9ZiRvIbotg9hbWnHaskg5Rzot3+lI3KYhyotWDyxxRBN1IERqsE68Gn5Yk/e97LNAGMt/hK7O69QKRDqdJFurb4JuMw2QIOeKvgthdUuPl4pkfJs7aIgYirqAiV3ov8BRclOkMkeNhOUDOOScDk="

Expand All @@ -45,11 +45,13 @@ before_install:
# Update Node.js modules
- "test ! -d node_modules || npm prune"
- "test ! -d node_modules || npm rebuild"
-

before_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
- sleep 3 # give xvfb some time to start
- export DISPLAY=:99.0
# https://stackoverflow.com/questions/55674746/travis-sh-0-cant-open-etc-init-d-xvfb
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export DISPLAY=:99.0; fi
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
# - sleep 3 # give xvfb some time to start

script:
- if [[ ${NODE_ONLY} == true ]]; then
Expand Down

0 comments on commit c8492a9

Please sign in to comment.