Skip to content

Commit

Permalink
Merge pull request #665 from SCADA-LTS/feature/#659_When_building_add…
Browse files Browse the repository at this point in the history
…itional_version_information

#659 correcting travis
  • Loading branch information
grzesiekb authored Aug 3, 2018
2 parents 82743d3 + edaedb6 commit 28e812e
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@ before_script:
- npm -v
- node -v
- env
- npm install -g @angular/cli@latest
#- npm install -g @angular/cli@latest
- npm install -g bower
- npm install @angular/core@latest
#- npm install @angular/core@latest
- chmod +x ./get_seroUtils.sh
- "./get_seroUtils.sh"
- ls -l ./WebContent/WEB-INF/lib/seroUtils.jar
# correct version base on Milestones
- sed -i '94s/.*/ return "'$SCADA_LTS_MILESTONE'";/' ./src/com/serotonin/mango/Common.java
- cd ./WebContent/resources/app; bower update;
- cd ../../..
- cd ./ScadaLTS-UI
- npm install
- ls -l ./src/app/media
- ng version
- ng build
- cd ./war
- ant war
- ant
- cd ../..
#- cd ./ScadaLTS-UI
#- npm install
#- ls -l ./src/app/media
#- ng version
#- ng build
#- cd ./war
#- ant war
#- ant
#- cd ../..
- cd ./ScadaLTS-UI-1
- npm install
- cd ../WebContent/resources/npm/
Expand Down Expand Up @@ -71,7 +71,7 @@ after_script:
- rm -rf ./apache-tomcat-7.0.85
- cp ../../ScadaBR.war ./webapps
#- cp ../../ScadaLTS-UI/war/ScadaLTS.war ./webapps
- ls -l ./webapps/ScadaLTS.war
#- ls -l ./webapps/ScadaLTS.war
- ls -l ./webapps/ScadaBR.war
- cp ../../WebContent/WEB-INF/lib/mysql-connector-java-3.1.8-bin.jar ./lib/
- cp ../../WebContent/WEB-INF/lib/mysql-connector-java-5.1.38-bin.jar ./lib/
Expand All @@ -88,5 +88,4 @@ after_script:
- export IMAGE_NAME=scadalts/scadalts
- docker build -t $IMAGE_NAME:$TRAVIS_COMMIT .
- docker tag $IMAGE_NAME:$TRAVIS_COMMIT $IMAGE_NAME:$TAG
- docker push $IMAGE_NAME:$TAG

- docker push $IMAGE_NAME:$TAG

0 comments on commit 28e812e

Please sign in to comment.