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

Install the latest version of Chrome on Travis. #117

Closed
zdfs opened this issue Dec 14, 2015 · 16 comments
Closed

Install the latest version of Chrome on Travis. #117

zdfs opened this issue Dec 14, 2015 · 16 comments
Assignees

Comments

@zdfs
Copy link
Collaborator

zdfs commented Dec 14, 2015

Seems related to #109. I will fork a branch and see what I can do to get this working.

@zdfs zdfs self-assigned this Dec 14, 2015
@dperrymorrow
Copy link
Collaborator

is there a way to get travis to run multiple browsers? or is that only meaningfull if we start distributing a polyfill package #108

@praveenpuglia
Copy link
Contributor

Well this doesn't look good! - https://twitter.com/domenic/status/502571560944021506
Also - karma-runner/karma#1144

@zdfs
Copy link
Collaborator Author

zdfs commented Dec 15, 2015

Yeah and another issue is that even if I do figure it out, it will add a substantial amount of time to the build.

@zdfs
Copy link
Collaborator Author

zdfs commented Dec 15, 2015

Installing a specific version of Firefox is much easier, it seems like: https://docs.travis-ci.com/user/ci-environment/#Firefox

@zdfs
Copy link
Collaborator Author

zdfs commented Dec 15, 2015

Finally found the issue of why Chromium browser is stuck on version 37: travis-ci/travis-ci#3475

@zdfs
Copy link
Collaborator Author

zdfs commented Dec 15, 2015

I have it working, seems a little crazy for the .travis.yml. https://travis-ci.org/LeaVerou/bliss/jobs/96878563

@zdfs
Copy link
Collaborator Author

zdfs commented Dec 15, 2015

Takes the build up to 3+ minutes.

@zdfs
Copy link
Collaborator Author

zdfs commented Dec 15, 2015

There might be some steps we can take out too. I just copied from some place that seemed to have it worked out.

@praveenpuglia
Copy link
Contributor

I kind of did hit and trial and got Chrome 47 working. :)
https://travis-ci.org/praveenpuglia/bliss/jobs/96882573

And it passes with all the tests for $.closest taking 1 min 5 seconds. It could actually be lesser if it didn't do apt update i guess.

@praveenpuglia
Copy link
Contributor

Let me know if what I did is correct solves the problem. If you wish I can send the PR for it. :)

@zdfs
Copy link
Collaborator Author

zdfs commented Dec 15, 2015

So the only question I have from https://github.com/praveenpuglia/bliss/blob/th-test/.travis.yml is why do we need https://github.com/praveenpuglia/bliss/blob/th-test/.travis.yml?

Other than that, I say yeah, submit a PR for it. I'll delete my branch. Good job.

@praveenpuglia
Copy link
Contributor

oh you don't. I did it just to test the commit with my own travis build. let me send a PR. Thanks! :)

Just to be confirm, I am sending PR only for the travis update right? or merge the changes as well ?

@zdfs
Copy link
Collaborator Author

zdfs commented Dec 15, 2015

Sorry, I meant - sudo apt-get install -y libappindicator1 fonts-liberation

@praveenpuglia
Copy link
Contributor

Okay. When I did normal installation, it failed with error indicating those packages were chrome dependencies and could not be found.

@zdfs
Copy link
Collaborator Author

zdfs commented Dec 15, 2015

Ok. Just making sure.

@zdfs zdfs closed this as completed in 5f98cf6 Dec 15, 2015
zdfs pushed a commit that referenced this issue Dec 15, 2015
jbinto added a commit to jbinto/react-boilerplate that referenced this issue Jan 25, 2016
@fulls1z3
Copy link

fulls1z3 commented Dec 9, 2016

Hope it helps:

sudo: required
dist: trusty
addons:
  apt:
    sources:
      - google-chrome
    packages:
      - google-chrome-stable

language: node_js
node_js:
  - "6"
cache:
  directories: node_modules
branches:
  only: master

before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - npm i -g npm@^3
  - sleep 3

andrey-skl added a commit to JetBrains/websandbox that referenced this issue May 5, 2017
marvellous122 added a commit to marvellous122/react-redux-base that referenced this issue Jan 19, 2018
shaun554 added a commit to shaun554/react-boilerplate that referenced this issue Mar 21, 2019
mauricewells pushed a commit to mauricewells/react-boilerplate that referenced this issue Jan 21, 2022
kazuma512 added a commit to kazuma512/react-boilerplate-typescript that referenced this issue Jun 2, 2023
AIDevMonster added a commit to AIDevMonster/react-boilerplate that referenced this issue Jun 21, 2023
whiteghostDev added a commit to whiteghostDev/react-boilerplate that referenced this issue Aug 6, 2023
wesleywang4766 added a commit to wesleywang4766/lodash that referenced this issue Mar 8, 2024
winder9 pushed a commit to M-Killer-dev/React-project that referenced this issue Jun 16, 2024
JackMJones pushed a commit to JackMJones/Jack1213 that referenced this issue Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants