language: node_js node_js: - '8' cache: directories: - node_modules addons: chrome: stable notifications: email: false env: global: - ENCRYPTION_LABEL: "a8c5e363dc84" - COMMIT_AUTHOR_EMAIL: "patternfly-build@redhat.com" - TRIGGER_REPO_SLUG: "patternfly/patternfly-ng" - TRIGGER_REPO_BRANCH: "master" before_install: - export CHROME_BIN=chromium-browser - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start script: - npm run build - npm run build:demo - npm run test - sh -x ./node_modules/patternfly-eng-release/scripts/semantic-release/_verify.sh -x || travis_terminate 1 after_success: - npm run publish-travis - npm run semantic-release branches: except: - /^v\d+\.\d+\.\d+$/