.gitlab-ci.yml 1.16 KB
Newer Older
Yori Fournier's avatar
Yori Fournier committed
1
2
before_script:
  - apt-get update -q -y
3
  - apt-get install python3 python3-dev python3-tk -q -y
Yori Fournier's avatar
Yori Fournier committed
4
  - wget https://bootstrap.pypa.io/get-pip.py
Yori Fournier's avatar
Yori Fournier committed
5
6
7
8
9
  - python3 get-pip.py
  - python3 -m pip --version
  - python3 -m pip install --upgrade pip
  - python3 -m pip install -U matplotlib
  - python3 -m pip install pep8
Yori Fournier's avatar
Yori Fournier committed
10

11
myplotlib_import_local_latex_tkagg:
Yori Fournier's avatar
Yori Fournier committed
12
  script:
Yori Fournier's avatar
Yori Fournier committed
13
14
    - git name-rev --name-only HEAD
    - ls -l
Yori Fournier's avatar
Yori Fournier committed
15
    - cd test/localhost
16
    - ./setup_test_folder.sh -r latex-tkagg
Yori Fournier's avatar
Yori Fournier committed
17
18
19
    - python3 import_test.py
    - python3 -m tests
    - python3 -m tutorials    
20
    - ./clean_test_folder.sh
Yori Fournier's avatar
Yori Fournier committed
21

22
23
24
25
myplotlib_test_mytool:
  script:
    - git name-rev --name-only HEAD
    - ls -l
Yori Fournier's avatar
Yori Fournier committed
26
    - cd mpl_toolbox/
Yori Fournier's avatar
Yori Fournier committed
27
    - cp ../.configs/tests/config-local.py ../config.py
Yori Fournier's avatar
Yori Fournier committed
28
29
    - python3 -m tests
    - python3 -m tutorials
30

Yori Fournier's avatar
Yori Fournier committed
31
32
33
34
35
36
myplotlib_import_network_latex_tkagg:
  script:
    - git name-rev --name-only HEAD
    - ls -l
    - cd test/network
    - ./setup_test_folder.sh -r latex-tkagg
Yori Fournier's avatar
Yori Fournier committed
37
38
    - python3 test_com_nogl.py
    - python3 -m tests
Yori Fournier's avatar
Yori Fournier committed
39
    - ./clean_test_folder.sh
40
41
42
43
44

myplotlib_test_pep8:
  script:
    - git name-rev --name-only HEAD
    - ls -l
45
    - cd test
Yori Fournier's avatar
Yori Fournier committed
46
    - python3 -m comp_pep8
47
  allow_failure: true