Skip to content

Commit

Permalink
Update .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob committed Feb 12, 2018
1 parent 8668d7e commit ebd0f6d
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,27 @@ variables:
GIT_STRATEGY: "clone"
GIT_CHECKOUT: "true"
DOCKER_HOST: tcp://localhost:2375

stages:
- build_dependencies
- build_xyce
- test
- deploy

build_deps:
stage: build_dependencies
script:
- execute-script-for-job1
- apt-get -y update
- apt-get install -y software-properties-common wget
- add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty multiverse"
- apt-get -y update
- apt-get -y upgrade
- apt-get install -y python gcc g++ gfortran make libsuitesparse-metis-dev git

push_to_github:
stage: deploy
script:
- docker build .
#- docker build .
#- git pull
#- git push -f https://jbharter:[email protected]/jbharter/xyce-deps-docker.git master

0 comments on commit ebd0f6d

Please sign in to comment.