CLI File Encryptor
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
543B

  1. image: php:7.2
  2. before_script:
  3. - apt-get update && apt-get install -y git unzip
  4. - echo 'phar.readonly = off' > /usr/local/etc/php/conf.d/custom.ini
  5. - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
  6. - composer install
  7. stages:
  8. - test
  9. - deploy
  10. test:
  11. stage: test
  12. script:
  13. - vendor/bin/phpunit tests
  14. only:
  15. - tags
  16. except:
  17. - branches
  18. deploy:
  19. stage: deploy
  20. script:
  21. - vendor/bin/pake build
  22. - vendor/bin/pake upload
  23. only:
  24. - tags
  25. except:
  26. - branches