Skip to content

Enable Travis to run with test with different browser from sauce labs from master by using cron job #663

Closed

Description

@bkhouri

As of commit 7930bb186f8f98c5777c2eeae67ba8865a85f408, the contents of travis.yml is:

language: python
sudo: false
python:
  - "2.6"
  - "2.7"
install:
  #- pip install pep8 --use-mirrors
  #- pip install pyflakes --use-mirrors
  - pip install robotframework
  - pip install selenium
  - pip install decorator
  - pip install mockito
  #- "if [[ ${BROWSER} == 'ie' ]]; then pip install ie_only_pkg; fi"
before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
script:
  - "firefox --version"
  - "python test/run_tests.py python $BROWSER --noncritical known_issue_-_travisci"
env:
  matrix:
  - BROWSER=firefox
  #- BROWSER=ie # will be added when we have completed SauceLabs CI
  #- BROWSER=safari # will be added after #247 merged

The last line is #- BROWSER=safari # will be added after #247 merged, however PR #247 has been merged. Should this like be commented out?

Activity

  1. HelioGuilherme66 commented on Sep 6, 2016

    @HelioGuilherme66
    Member

    These are old comments and they were left there as a reminder of things to do.
    We are doing advanced CI changes in #621.

    Or current setup in Travis does not allow (is not using OS X). It is only testing with Firefox.
    As we cannot comment out for Safari browser, I am closing this issue.

  2. pekkaklarck commented on Sep 6, 2016

    @pekkaklarck
    Member

    Let's remove unnecessary/confusing comments.

  3. aaltat commented on Sep 8, 2016

    @aaltat
    Contributor

    The CI enhancement is done in the CI branch. Please take a look from there.

  4. aaltat commented on Feb 7, 2017

    @aaltat
    Contributor

    The .travis.yml is cleaned from the comments and there is better coverage on the selenium and RF versions side. What is missing that we should test with different browser versions too. But with Travis it is only possible to use Firefox and Chrome browsers. To run test with other browsers, like Safari and IE, we need to use Sauce Labs.

    But because of the security limitations it is not possible to launch test from Travis to Sauce labs. Instead we can create crob job in Travis, to launch test against current master and with different browser from Sauce labs. Configuring that cron job and modifying .travis.yml to launch required browsers needs to be done.

    Changed issue report title to indicate the missing cron job and Travis configuration.

  5. changed the title [-]Should BROWSER=safari be enabled in travis.yml?[/-] [+]Enable Travis to run with test with different browser from sauce labs from master by using cron job[/+] on Feb 7, 2017
  6. added this to the milestone on Feb 7, 2017
  7. modified the milestones: , on May 22, 2017
  8. removed this from the milestone on Sep 19, 2017
  9. aaltat commented on Sep 19, 2017

    @aaltat
    Contributor

    This is more or less done. Closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions