-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jacob
committed
Feb 12, 2018
1 parent
8668d7e
commit ebd0f6d
Showing
1 changed file
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |