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

move e2e test to circle-ci #5459

Merged
merged 1 commit into from
Mar 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ test_build: &test_build
fi;
yarn build

test_e2e_steps: &test_e2e_steps
steps:
- checkout
- run:
command: cd end_to_end_tests/data && ./run-ubuntu.sh


test_run: &test_run
run:
name: Tests
Expand Down Expand Up @@ -154,6 +161,22 @@ jobs:
- *attach_workspace
- *test_build
- *test_run
test-e2e-ubuntu1604:
<<: *docker_defaults
docker:
- image: ubuntu:16.04
<<: *test_e2e_steps
test-e2e-ubuntu1404:
<<: *docker_defaults
docker:
- image: ubuntu:14.04
<<: *test_e2e_steps

test-e2e-ubuntu1204:
<<: *docker_defaults
docker:
- image: ubuntu:12.04
<<: *test_e2e_steps

publish:
<<: *docker_defaults
Expand All @@ -177,6 +200,19 @@ notify:

workflows:
version: 2
nightly:
triggers:
- schedule:
cron: "0 0 * * *"
filters:
branches:
only:
- master
jobs:
- test-e2e-ubuntu1604
- test-e2e-ubuntu1404
- test-e2e-ubuntu1204

install-test-build-and-publish:
jobs:
- install:
Expand Down