Skip to content
Permalink
Browse files

Fix plugin version and travis

  • Loading branch information...
shyim committed Apr 9, 2019
1 parent 7f6e33e commit fa4a58de6fc3b231b13ae1d99a5881eb6ccb2a4e
Showing with 3 additions and 41 deletions.
  1. +1 −39 .travis.yml
  2. +2 −2 plugin.xml
@@ -1,7 +1,7 @@
language: php

php:
- 7.1
- 7.2

sudo: false

@@ -13,44 +13,6 @@ env:
script:
- "./build.sh"


stages:
- test
- name: Store-Check
if: tag IS blank AND env(PLUGIN_ID) IS present AND type != pull_request
- name: Store-Sync
if: branch = master AND env(PLUGIN_ID) IS present AND type != pull_request
- name: Store-Deploy
if: tag IS present

jobs:
include:
- stage: Store-Check
php: 7.3
before_script: skip
install:
- chmod +x ./build.sh
- ./build.sh ${TRAVIS_BRANCH}
- wget 'https://github.com/FriendsOfShopware/FroshPluginUploader/blob/master/frosh-plugin-upload.phar?raw=true' -O frosh-plugin-upload.phar
script:
- php frosh-plugin-upload.phar plugin:validate ${TRAVIS_BUILD_DIR}/${PLUGIN_NAME}*.zip
- stage: Store-Sync
before_script: skip
php: 7.3
install:
- wget 'https://github.com/FriendsOfShopware/FroshPluginUploader/blob/master/frosh-plugin-upload.phar?raw=true' -O frosh-plugin-upload.phar
script:
- php frosh-plugin-upload.phar plugin:update ${TRAVIS_BUILD_DIR}/Resources/store
- stage: Store-Deploy
before_script: skip
php: 7.3
install:
- wget 'https://github.com/FriendsOfShopware/FroshPluginUploader/blob/master/frosh-plugin-upload.phar?raw=true' -O frosh-plugin-upload.phar
script:
- chmod +x ./build.sh
- ./build.sh
- php frosh-plugin-upload.phar plugin:upload ${TRAVIS_BUILD_DIR}/${PLUGIN_NAME}*.zip

deploy:
provider: releases
api_key:
@@ -3,7 +3,7 @@
xsi:noNamespaceSchemaLocation="../../../engine/Shopware/Components/Plugin/schema/plugin.xsd">
<label lang="de">Adminer</label>
<label lang="en">Adminer</label>
<version>1.3.1</version>
<version>1.3.3</version>
<copyright>Friends of Shopware</copyright>
<license>MIT</license>
<link>https://friendsofshopware.github.io/</link>
@@ -16,4 +16,4 @@
<changes lang="en">Updated Adminer to 4.7.0</changes>
<changes lang="de">Adminer aktualisiert auf 4.7.0</changes>
</changelog>
</plugin>
</plugin>

0 comments on commit fa4a58d

Please sign in to comment.
You can’t perform that action at this time.