Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent fact gathering timeout on Travis #29

Merged
merged 4 commits into from
Aug 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
---
language: node_js
node_js:
- v10
- v8
- v10
- v8
jobs:
include:
- stage: Code coverage
node_js: node
script: jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
- stage: Code coverage
node_js: node
script: jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
&& rm -rf ./coverage
deploy:
provider: npm
email: c@64b.it
api_key:
secure: qykv6BdrmCMmaXB4PjJEneWX62b8Oj08Bd77dhMbWOLKmutYR+LoiCQdGU/MZX+upQgcamCZP2F/ZZg5bsghd2CdeaWhbenD14MCz5KuvazFEf0Q3rkDdP/0faggtqDsJSRdyrLvcJvAgQjqjH06XW6x129rJ3Apruu3Q5uSQI4QaOTAZL/d/pCuJNKQcEE6wdyKv9Qy3Q1CwNuoQpkp4dr5zgm4mHWDQ+1i+N7vdhUTuEPl5HF1rXm/TChbhMsm0YFOl9GlsC0Mp1zZpX4Yz+qOoe1I2ZqDNJ6D51XWebJ0d0D/NRTcs2sV0i/eY/S3LG4i3IwX+zElA23td1Jrhf8pIuGlpEyi3/abGvh4moJxTXkpK9pMGy7XDlT7MA7w/kYJiIJfeDocKzVqMkAtpiQZWbqId+fPFIg4wkpS6jm4J/ixC0V3rpONnksuli2y2cTEb0fv/6NB1XrSa6XvpXDakKMLf0bz7wRMPUlDrzabU5Pw01fUx0B7GkjCFDFEyaYXCCIU4ransJBc6rwKxsApTVw2sRANtr7ep636ygYZPTQqU/W4mKjZUoac3XVj6kDxl3N2wNLpcrebrud2sKOmYH32PDFUoeTIhzHZ1PYY8O4rjBojjUaCf5DKIVQlMSOZyWfg6qL7IY2+QZQwyZNPOx8jTzXjQE3hmV1APSw=
on:
tags: true
repo: coaxial/generator-molecule-lxd-role
3 changes: 3 additions & 0 deletions __tests__/__snapshots__/app.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ jobs:
sudo: required
install:
- .travis/setup.sh
env:
# keep fact gathering from timing out
- ANSIBLE_GATHER_TIMEOUT=300
script:
# the python venv needs to be in the path for molecule to run
# https://unix.stackexchange.com/questions/83191/how-to-make-sudo-preserve-path
Expand Down
3 changes: 3 additions & 0 deletions generators/app/templates/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
sudo: required
install:
- .travis/setup.sh
env:
# keep fact gathering from timing out
- ANSIBLE_GATHER_TIMEOUT=300
script:
# the python venv needs to be in the path for molecule to run
# https://unix.stackexchange.com/questions/83191/how-to-make-sudo-preserve-path
Expand Down
Loading