Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
todo-client-tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mathias Willoch Picker
todo-client-tests
Commits
fafcfeb4
Commit
fafcfeb4
authored
4 years ago
by
Mathias Picker
Browse files
Options
Downloads
Patches
Plain Diff
ci
parent
24006165
No related branches found
No related tags found
No related merge requests found
Pipeline
#87969
failed
4 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-5
2 additions, 5 deletions
.gitlab-ci.yml
with
2 additions
and
5 deletions
.gitlab-ci.yml
+
2
−
5
View file @
fafcfeb4
...
@@ -18,6 +18,8 @@ install:
...
@@ -18,6 +18,8 @@ install:
artifacts
:
artifacts
:
paths
:
paths
:
-
node_modules
-
node_modules
test
:
stage
:
test
stage
:
test
script
:
script
:
-
apt-get update
-
apt-get update
...
@@ -31,16 +33,11 @@ install:
...
@@ -31,16 +33,11 @@ install:
# Create database table
# Create database table
-
echo "CREATE TABLE Tasks (id INT NOT NULL AUTO_INCREMENT, title TEXT NOT NULL, done BOOL
-
echo "CREATE TABLE Tasks (id INT NOT NULL AUTO_INCREMENT, title TEXT NOT NULL, done BOOL
DEFAULT
false
, PRIMARY KEY(id));" | mysql $MYSQL_DATABASE
DEFAULT
false
, PRIMARY KEY(id));" | mysql $MYSQL_DATABASE
test_server
:
stage
:
test
script
:
-
cd server
-
cd server
-
npm install
-
npm install
-
npm test
-
npm test
test_client
:
test_client
:
stage
:
test
script
:
script
:
-
cd client
-
cd client
-
npm install
-
npm install
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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