mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
Dockerfile,docker-compose.yaml: run tests for every target
Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
ce9742b355
commit
afd9dd07e4
@ -41,7 +41,6 @@ ENV NVM_DIR /root/.nvm
|
||||
RUN . $NVM_DIR/nvm.sh && nvm install $NODE_VERSION && nvm use $NODE_VERSION && \
|
||||
npm install -g node-gyp && node-gyp install
|
||||
|
||||
|
||||
# Set Workdir
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
|
@ -2,14 +2,6 @@ version: '2'
|
||||
|
||||
services:
|
||||
|
||||
ubuntu:
|
||||
image: ubuntu:16.04
|
||||
command: bash
|
||||
environment:
|
||||
- http_proxy
|
||||
- https_proxy
|
||||
- no_proxy
|
||||
|
||||
main:
|
||||
build:
|
||||
context: .
|
||||
@ -55,11 +47,11 @@ services:
|
||||
build:
|
||||
args:
|
||||
- BUILDSWIGPYTHON=ON
|
||||
command: bash -c "make $$(make help | grep _pyupm_.*-python2 | sed 's/... //' | tr '\n' ' ')"
|
||||
command: bash -c "make $$(make help | grep _pyupm_.*-python2 | sed 's/... //' | tr '\n' ' ') && make test"
|
||||
|
||||
python3:
|
||||
extends: python2
|
||||
command: bash -c "make $$(make help | grep _pyupm_.*-python3 | sed 's/... //' | tr '\n' ' ')"
|
||||
command: bash -c "make $$(make help | grep _pyupm_.*-python3 | sed 's/... //' | tr '\n' ' ') && make test"
|
||||
|
||||
java:
|
||||
extends: main
|
||||
@ -68,7 +60,7 @@ services:
|
||||
- BUILDSWIGJAVA=ON
|
||||
- CC=gcc-4.8
|
||||
- CXX=g++-4.8
|
||||
command: bash -c "make $$(make help | grep javaupm | sed 's/... //' | tr '\n' ' ')"
|
||||
command: bash -c "make $$(make help | grep javaupm | sed 's/... //' | tr '\n' ' ') && make test"
|
||||
|
||||
node4:
|
||||
extends: main
|
||||
@ -76,7 +68,7 @@ services:
|
||||
args:
|
||||
- BUILDSWIGNODE=ON
|
||||
- NODE_VERSION=v4.1.2
|
||||
command: bash -c "make $$(make help | grep jsupm | sed 's/... //' | tr '\n' ' ')"
|
||||
command: bash -c "make $$(make help | grep jsupm | sed 's/... //' | tr '\n' ' ') && make test"
|
||||
|
||||
node5:
|
||||
extends: node4
|
||||
|
Loading…
x
Reference in New Issue
Block a user