.gitlab-ci.yml.old 740 Bytes
Newer Older
Daniel Brown's avatar
Daniel Brown committed
1
2
before_script:
    - export CWD=$(pwd)
Daniel Brown's avatar
Daniel Brown committed
3
    - export PYTHONPATH=$PYTHONPATH:$CWD
Daniel Brown's avatar
Daniel Brown committed
4
5
6
7
8
9
10
11
    # - cd /finesse
    # - rm kat
    # - git reset --hard
    # - git checkout develop
    # - git pull
    # - echo "Building Finesse..."
    # - ./finesse.sh --build > /dev/null 2>&1
    # - echo "Sucessfuly built Finesse"
Daniel Brown's avatar
Daniel Brown committed
12
13
14
15
    - cd $CWD
    
python_3:
    script:
16
        - source /setup.sh
Daniel Brown's avatar
Daniel Brown committed
17
        - echo $PYTHONIOENCODING
Daniel Brown's avatar
Daniel Brown committed
18
19
20
        - kat -v
        - which python3
        - python3 --version
Daniel Brown's avatar
Daniel Brown committed
21
22
        - cd test
        - python3 run_tests.py
Daniel Brown's avatar
Daniel Brown committed
23
24
25
        
python_2:
    script:
26
        - source /setup.sh
Daniel Brown's avatar
Daniel Brown committed
27
        - echo $PYTHONIOENCODING
Daniel Brown's avatar
Daniel Brown committed
28
29
30
        - kat -v
        - which python2.7
        - python2.7 --version
Daniel Brown's avatar
Daniel Brown committed
31
32
        - cd test
        - python2.7 run_tests.py