diff --git a/.travis.yml b/.travis.yml index ffbf18ed..58fd5d57 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,25 +22,26 @@ env: - DISPLAY=:99.0 - MAVEN_OPTS="-Xmx4g" - TERM=dumb - - TARGET=Latest.target +matrix: + include: + - env: TARGET=2019-06.target + if: branch = master + - env: TARGET=Latest.target before_install: - chmod +x $TRAVIS_BUILD_DIR/extensions/vscode/gradlew -jobs: - include: - - stage: Build YAKINDU Solidity IDE and language server - script: - - cd releng/com.yakindu.solidity.releng - - mvn clean verify -P$TARGET,tests - - cd ../com.yakindu.solidity.repository/target - - zip -r repository.zip repository - - cd $TRAVIS_BUILD_DIR/extensions/vscode - - ./gradlew vscodeExtension - - cd $TRAVIS_BUILD_DIR - - cp -r plugins/com.yakindu.solidity.ide/target/languageserver extensions/theia/xtext-dsl-extension/languageserver - - cd extensions/theia/ - - yarn install - - cd $TRAVIS_BUILD_DIR - - docker build extensions/. -t yakindu/solidity-ide +script: + - cd releng/com.yakindu.solidity.releng + - mvn clean verify -P$TARGET,tests -Dtycho.disableP2Mirrors=true + - cd ../com.yakindu.solidity.repository/target + - zip -r repository.zip repository + - cd $TRAVIS_BUILD_DIR/extensions/vscode + - ./gradlew vscodeExtension + - cd $TRAVIS_BUILD_DIR + - cp -r plugins/com.yakindu.solidity.ide/target/languageserver extensions/theia/xtext-dsl-extension/languageserver + - cd extensions/theia/ + - yarn install + - cd $TRAVIS_BUILD_DIR + - docker build extensions/. -t yakindu/solidity-ide deploy: skip_cleanup: true on: diff --git a/releng/com.yakindu.solidity.releng/pom.xml b/releng/com.yakindu.solidity.releng/pom.xml index 9f24005c..b4a706d6 100644 --- a/releng/com.yakindu.solidity.releng/pom.xml +++ b/releng/com.yakindu.solidity.releng/pom.xml @@ -68,6 +68,36 @@ + + 2019-06.target + + true + + + 2.18.0 + true + + + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + true + + + com.yakindu.solidity + com.yakindu.solidity.target + ${project.version} + 2019-06 + + + + + + + ../com.yakindu.solidity.target diff --git a/releng/com.yakindu.solidity.target/2019-06.target b/releng/com.yakindu.solidity.target/2019-06.target new file mode 100644 index 00000000..7051e7e2 --- /dev/null +++ b/releng/com.yakindu.solidity.target/2019-06.target @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file