Skip to content

Commit 39eace3

Browse files
committed
Move test Shell Script to TDD directory #55
The script test_travis_docker.sh that runs docker containers of the unit tests is moved to TDD directory. This script is called from .travis.yml configuration file
1 parent 66692f5 commit 39eace3

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ branches:
1010
only:
1111
- master
1212
- /^develop.*$/
13-
- teste
13+
- test
1414
jobs:
1515
include:
1616
- stage: Unit test
1717
name: Unit test
1818
if: env(UNIT_TEST)=true
19-
script: ./test_travis_docker.sh 'make'
19+
script: ./TDD/test_travis_docker.sh 'make'
2020
- stage: Modeling
2121
name: Gaussian Reflector
2222
if: env(MODELING_GAUSS)=true
23-
script: ./test_travis_docker.sh 'python -m unittest test_gaussianModelBuild'
23+
script: ./TDD/test_travis_docker.sh 'python -m unittest test_gaussianModelBuild'
2424
- if: env(MODELING_MULTI)=true
25-
script: ./test_travis_docker.sh 'python -m unittest test_multiLayerModelBuild'
25+
script: ./TDD/test_travis_docker.sh 'python -m unittest test_multiLayerModelBuild'
2626
name: Multi Layer
2727
- stage: Deploy
2828
name: Deploy

test_travis_docker.sh renamed to TDD/test_travis_docker.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
#
2828
# License: GPL-3.0 <https://www.gnu.org/licenses/gpl-3.0.txt>.
2929

30+
cd $RSFSRC/user/creGatherStack/TDD
31+
3032
docker run -t -v $PWD:/root/madagascar-3.0/user/creGatherStack \
3133
dirack/cregatherstack:1.0.0 bash -c 'CREROOT=/root/madagascar-3.0/user/creGatherStack && cd $RSFSRC && source env.sh && cd $CREROOT && scons && cd $RSFSRC && scons install && cd $CREROOT/TDD/ && '"$@"
3234

0 commit comments

Comments
 (0)