Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
siibra-explorer
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiao Gui
siibra-explorer
Commits
dad485f5
Commit
dad485f5
authored
4 years ago
by
Xiao Gui
Browse files
Options
Downloads
Patches
Plain Diff
fix travis e2e
parent
a36f530f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+3
-3
3 additions, 3 deletions
.travis.yml
with
3 additions
and
3 deletions
.travis.yml
+
3
−
3
View file @
dad485f5
...
...
@@ -19,7 +19,7 @@ jobs:
# env(TEST_SUITE) = 'unit-frontend' - for parallel runs in TravisCI
# NOT type = pull_request - only run on branch, so it is not run on PR (duplicated runs)
# NOT branch in (master, staging, dev) - all changes done to these branches should go through PR, so do not run unit tests
if
:
env(TEST_SUITE) = 'unit-frontend' AND NOT type = pull_request AND NOT branch in (master, staging, dev)
if
:
(
env(TEST_SUITE) = 'unit-frontend'
)
AND
(
NOT type = pull_request
)
AND
(
NOT branch in (master, staging, dev)
)
install
:
-
npm i
script
:
...
...
@@ -34,7 +34,7 @@ jobs:
# env(TEST_SUITE) = 'unit-backend' - for parallel runs in TravisCI
# NOT type = pull_request - only run on branch, so it is not run on PR (duplicated runs)
# NOT branch in (master, staging, dev) - all changes done to these branches should go through PR, so do not run unit tests
if
:
env(TEST_SUITE) = 'unit-backend' AND NOT type = pull_request AND NOT branch in (master, staging, dev)
if
:
(
env(TEST_SUITE) = 'unit-backend'
)
AND
(
NOT type = pull_request
)
AND
(
NOT branch in (master, staging, dev)
)
before_install
:
-
cd deploy
install
:
...
...
@@ -48,7 +48,7 @@ jobs:
-
stage
:
local e2e
# type = api - should only be activated by API
# when send API, ensure to set env TEST_SUITE=e2e-local to explicitly trigger this build
if
:
(
env(TEST_SUITE) =~ /^https/
) AND (branch IN (master, staging, dev)) AND (type = api)
if
:
env(TEST_SUITE) =~ /^https/
name
:
e2e (local)
install
:
-
npm i
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment