.gitlab-ci.yml 594 Bytes
Newer Older
Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
1 2 3



4
before_script:
Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
5 6
  - export LC_ALL=C.UTF-8
  - export LANG=C.UTF-8
7 8
  - apt-get update -qq
  - apt-get install -y make
9
  - make install
Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
10 11
  - pip3 install -U pip setuptools pipenv==9.0.3
  - pip3 --version
Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
12
  - pipenv install
Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
13
  - source $(pipenv --venv)/bin/activate
14
  - python --version
Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
15
  - pip3 show django | grep Version
16 17

django-tests:
Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
18 19 20
  tags:
    - ubuntu
    - regular
21 22
  script:
    - cd src
Odair M.'s avatar
Odair M. committed
23 24 25 26
    - python manage.py makemigrations degree
    - python manage.py makemigrations educator
    - python manage.py makemigrations upload 
    - python manage.py migrate
27 28 29 30
    - python manage.py test