Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
django-yarnpkg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Libraries
django-yarnpkg
Commits
2c5bf202
Verified
Commit
2c5bf202
authored
5 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Test on GitLab CI.
parent
fcbb95c1
No related branches found
No related tags found
No related merge requests found
Pipeline
#244
failed
5 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+13
-0
13 additions, 0 deletions
.gitlab-ci.yml
.travis.yml
+0
-46
0 additions, 46 deletions
.travis.yml
with
13 additions
and
46 deletions
.gitlab-ci.yml
0 → 100644
+
13
−
0
View file @
2c5bf202
test
:
image
:
python:3.8-buster
before_script
:
-
sudo apt-get update -qq
-
sudo apt-get install -qq yarnpkg
-
pip install -q Django
-
pip install .
-
pip install -r requirements_dev.txt
-
pip install pep8
script
:
-
mkdir -p /tmp/test_root/
-
export TEST_PROJECT_ROOT=/tmp/test_root/
-
coverage run runtests.py test django_yarnpkg && coverage report
This diff is collapsed.
Click to expand it.
.travis.yml
deleted
100644 → 0
+
0
−
46
View file @
fcbb95c1
language
:
python
python
:
-
"
2.7"
-
"
3.3"
-
"
3.4"
-
"
3.5"
env
:
matrix
:
-
DJANGO_VERSION=1.4
-
DJANGO_VERSION=1.7
-
DJANGO_VERSION=1.8
-
DJANGO_VERSION=1.9
-
DJANGO_VERSION=1.10
matrix
:
exclude
:
-
python
:
"
3.3"
env
:
DJANGO_VERSION=1.4
-
python
:
"
3.4"
env
:
DJANGO_VERSION=1.4
-
python
:
"
3.5"
env
:
DJANGO_VERSION=1.4
-
python
:
"
3.5"
env
:
DJANGO_VERSION=1.7
-
python
:
"
3.3"
env
:
DJANGO_VERSION=1.9
-
python
:
"
3.3"
env
:
DJANGO_VERSION=1.10
before_install
:
-
sudo apt-get update -qq
-
sudo apt-get install -qq sloccount
install
:
-
npm install -g bower
-
pip install -q "Django>=${DJANGO_VERSION},<${DJANGO_VERSION}.99"
-
pip install .
-
pip install -r requirements_dev.txt
-
pip install pep8
-
pip install coviolations_app
script
:
-
mkdir /home/travis/test_root/ -p
-
export TEST_PROJECT_ROOT=/home/travis/test_root/
-
coverage run runtests.py test djangobower > >(tee stdout.log) 2> >(tee test_out >&2)
after_success
:
-
coverage report
-
pip install --quiet python-coveralls
-
coveralls
-
covio
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