Created
          August 22, 2017 08:07 
        
      - 
      
- 
        Save mupkoo/1a4db83136a174a94e0626640fe38d8a to your computer and use it in GitHub Desktop. 
    Using Ember-CLI with Chrome on GitLab CI
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | image: node:7.10 | |
| cache: | |
| paths: | |
| - node_modules/ | |
| - bower_components/ | |
| before_script: | |
| # Install Chrome | |
| - wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - | |
| - echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list | |
| - apt-get update -yqqq | |
| - apt-get install -y google-chrome-stable > /dev/null 2>&1 | |
| - npm install --silent | |
| # Remove if you don't have bower deps | |
| - npm install -g bower | |
| - bower install --allow-root --silent | |
| test: | |
| stage: test | |
| script: | |
| - ./node_modules/.bin/ember test | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* eslint-env node */ | |
| module.exports = { | |
| test_page: 'tests/index.html?hidepassed', | |
| disable_watching: true, | |
| parallel: 4, | |
| launch_in_ci: [ | |
| 'Chrome' | |
| ], | |
| launch_in_dev: [ | |
| 'Chrome' | |
| ], | |
| browser_args: { | |
| Chrome: [ | |
| '--headless', | |
| '--remote-debugging-port=9222' | |
| ] | |
| } | |
| }; | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
It's failing in ci with