language: node_js
node_js: stable
dist: trusty
addons:
  sonarqube:
      token:
        secure: ${SONAR_TOKEN}
      branches:
        - master
  sauce_connect:
      username: ${SAUCE_ACCESS_KEY}
      access_key: ${SAUCE_USERNAME}
before_script:
  - npm install -g grunt-cli
  - npm install -g bower
  - echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
  - npm install
  - bower install
  - npm update
  - bower update

script:
  - gulp clean verify build
  - gulp saucelabs

after_success:
  - sonar-scanner
cache:
  directories:
    - '$HOME/.sonar/cache'
language: node_js
node_js: stable
dist: trusty
addons:
  sonarqube:
      token:
        secure: ${SONAR_TOKEN}
      branches:
        - master
  sauce_connect:
      username: ${SAUCE_USERNAME}
      access_key: ${SAUCE_ACCESS_KEY}
before_script:
  - npm install -g grunt-cli
  - npm install -g bower
  - echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
  - npm install
  - bower install
  - npm update
  - bower update

script:
  - gulp clean verify build
  - gulp saucelabs

after_success:
  - sonar-scanner
cache:
  directories:
    - '$HOME/.sonar/cache'
Correct user name and access key for sauce labs
Correct user name and access key for sauce labs
