Skip to content

Commit

Permalink
Merge pull request #18 from gsunner/master
Browse files Browse the repository at this point in the history
ci updates
  • Loading branch information
gsunner authored Jan 10, 2018
2 parents 2b418c8 + 5e5f603 commit 6b93941
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 0 deletions.
67 changes: 67 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
version: 2
jobs:
build-api-frontend:
docker:
- image: seldonio/core-builder:0.1

working_directory: /work

steps:
- checkout

- setup_remote_docker:
docker_layer_caching: true

- run:
shell: /bin/sh
command: |
echo Building api-frontend
cd api-frontend
make -f Makefile.ci build
build-engine:
docker:
- image: seldonio/core-builder:0.1

working_directory: /work

steps:
- checkout

- setup_remote_docker:
docker_layer_caching: true

- run:
shell: /bin/sh
command: |
echo Building engine
cd engine
make -f Makefile.ci build
cluster-manager:
docker:
- image: seldonio/core-builder:0.1

working_directory: /work

steps:
- checkout

- setup_remote_docker:
docker_layer_caching: true

- run:
shell: /bin/sh
command: |
echo Building cluster-manager
cd cluster-manager
make -f Makefile.ci build
workflows:
version: 2
build:
jobs:
- build-api-frontend
- build-engine
- cluster-manager

18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
sudo: required

services:
- docker

branches:
only:
- master

script:
- echo Building api-frontend
- |
docker run --rm -it \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ${HOME}/.m2:/root/.m2 \
-v $(pwd):/work \
seldonio/core-builder:0.1 bash -c 'cd api-frontend && make -f Makefile.ci build'

0 comments on commit 6b93941

Please sign in to comment.