.gitlab-ci.yml 870 Bytes
Newer Older
rmrf's avatar
rmrf committed
1
ruby-version:
rmrf's avatar
rmrf committed
2
        stage: ruby-version
rmrf's avatar
rmrf committed
3
        script: echo $HOME; 
rmrf's avatar
rmrf committed
4

rmrf's avatar
rmrf committed
5
stages:
rmrf's avatar
rmrf committed
6
    - ruby-version
rmrf's avatar
rmrf committed
7 8 9
    - setup-gems
    - setup-extras
    - make-extras
rmrf's avatar
rmrf committed
10
    - test-extras
rmrf's avatar
rmrf committed
11

rmrf's avatar
rmrf committed
12
setup-gems:
rmrf's avatar
rmrf committed
13
        stage: setup-gems
rmrf's avatar
rmrf committed
14 15
        script: 
                - gem install jekyll jekyll-scholar bundler
rmrf's avatar
rmrf committed
16 17 18

setup-extras:
        stage: setup-extras
rmrf's avatar
rmrf committed
19 20 21 22
        script: 
                - cd ~; 
                - git clone https://git.uwaterloo.ca/caesr-pub/jekyll-scholar-extras.git; 
                - cd jekyll-scholar-extras;
rmrf's avatar
rmrf committed
23 24

make-extras:
rmrf's avatar
rmrf committed
25
        stage: make-extras
rmrf's avatar
rmrf committed
26 27 28 29
        script: 
                - gem build jekyll-scholar-extras.gemspec ; 
                - gem install jekyll-scholar-extras-0.1.3.gem; 
                - cp -r samples/jekyll-template ~/; 
rmrf's avatar
rmrf committed
30
        
rmrf's avatar
rmrf committed
31 32
test-extras:
        stage: test-extras
rmrf's avatar
rmrf committed
33 34
        script: 
                - cd ~/jekyll-template; jekyll build --trace