Skip to content
Merged
Show file tree
Hide file tree
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
35 changes: 35 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
image: continuumio/miniconda3:latest

stages:
- test

variables:
PYVERSION: "3.8"
NOSE_WITH_COV: "1"
NOSE_COVER_PACKAGE: "factor_analyzer"
LOGCAPTURE_LEVEL: "DEBUG"
CODECOV_TOKEN: "034f0bb1-e590-406f-820c-4e7c41b17712"

# set up the basic job
.runtests:
before_script:
- "conda create --prefix /root/factordev --channel conda-forge --file requirements.txt python=${PYVERSION} codecov nose nose-cov --yes --quiet"
- /root/factordev/bin/pip install -e .
script:
- "/root/factordev/bin/nosetests ${TESTFILES}"
after_script:
- /root/factordev/bin/codecov

# first set of test files
testset1:
extends: ".runtests"
variables:
TESTFILES: "tests/test_expected_confirmatory_factor_analyzer.py tests/test_factor_analyzer.py"
stage: "test"

# second set of test files
testset2:
extends: ".runtests"
variables:
TESTFILES: "tests/test_expected_factor_analyzer.py tests/test_expected_rotator.py tests/test_utils.py"
stage: "test"
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FactorAnalyzer
--------------

.. image:: https://img.shields.io/travis/EducationalTestingService/factor_analyzer/main.svg
.. image:: https://gitlab.com/EducationalTestingService/factor_analyzer/badges/main/pipeline.svg
:alt: Build status
:target: https://travis-ci.org/EducationalTestingService/factor_analyzer
:target: https://gitlab.com/EducationalTestingService/factor_analyzer/-/pipelines

.. image:: https://codecov.io/gh/EducationalTestingService/factor_analyzer/branch/main/graph/badge.svg
:target: https://codecov.io/gh/EducationalTestingService/factor_analyzer
Expand Down