.gitlab-ci.yml 892 Bytes
Newer Older
rmrf's avatar
rmrf committed
1
variables:
rmrf's avatar
rmrf committed
2
        VERSION: "0.1.4"
rmrf's avatar
rmrf committed
3
        
rmrf's avatar
rmrf committed
4 5
image: ruby:2.2

rmrf's avatar
rmrf committed
6 7 8 9
stages:
    - setup-extras
    - make-extras

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

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

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