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

Chore: Add stage to run functional tests only on type 'cron' #532

Merged
merged 1 commit into from
Dec 8, 2017
Merged

Chore: Add stage to run functional tests only on type 'cron' #532

merged 1 commit into from
Dec 8, 2017

Conversation

jeremypress
Copy link
Contributor

No description provided.

@boxcla
Copy link

boxcla commented Dec 7, 2017

Verified that @jeremypress has signed the CLA. Thanks for the pull request!

before_script:
- python -m SimpleHTTPServer &
- sleep 2
stages:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New travis syntax. Here we list the stages that we want our job to execute, and can pass in conditional logic on when to execute them

- name: sauce-labs
if: type = cron

jobs:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of our list of "jobs", we list which stages we want to include, and their corresponding script. It make make more sense to break the functional test into their own job, but that's more of a semantics thing then a change in functionality.

@jeremypress jeremypress merged commit 65e35f1 into box:master Dec 8, 2017
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

Successfully merging this pull request may close these issues.

3 participants