.travis.yml 2.33 KB
Newer Older
Tatsuyuki Ishi's avatar
Tatsuyuki Ishi committed
1
sudo: false
PeratX's avatar
PeratX committed
2

Tatsuyuki Ishi's avatar
Tatsuyuki Ishi committed
3
language: php
PeratX's avatar
PeratX committed
4
php:
Frago9876543210's avatar
Frago9876543210 committed
5
 - 7.2
PeratX's avatar
PeratX committed
6 7

before_script:
Frago9876543210's avatar
Frago9876543210 committed
8
# - phpenv config-rm xdebug.ini
Frago9876543210's avatar
Frago9876543210 committed
9
# - pecl install channel://pecl.php.net/pthreads-3.1.6
Dylan K. Taylor's avatar
Dylan K. Taylor committed
10
 - pecl install channel://pecl.php.net/weakref-0.3.3
Frago9876543210's avatar
Frago9876543210 committed
11 12 13 14 15 16 17 18 19
 - echo | pecl install channel://pecl.php.net/yaml-2.0.2
 - git clone https://github.com/krakjoe/pthreads.git --depth=1
 - cd pthreads
 - phpize
 - ./configure
 - make
 - make install
 - cd ..
 - echo "extension=pthreads.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
PeratX's avatar
PeratX committed
20 21

script:
22
 - ./ci/run.sh
PeratX's avatar
PeratX committed
23 24

notifications:
25 26
  email: false

Leo's avatar
Leo committed
27
before_deploy:
Leo's avatar
Leo committed
28
 - mv plugins/GenisysPro/GenisysPro*.phar plugins/GenisysPro/GenisysPro.phar
Leo's avatar
Leo committed
29

30
deploy:
Leo's avatar
Leo committed
31 32
  - provider: releases
    api_key:
33
      secure: 1odWTasf1b9ypbGNF9okBTBGBXbErfXg4r/OzzRskB9o0UzK/G90cwrfGGdjQgM9rao4IQ6qSsZCTPGODsot7ATQeofKYjM8ToPDKe8gzMuro8D1nDdLQoajb5ZQVl0Uc6X+WSpCR8Q46jtp3lKP44Xd3cZzObfJfESSatq3vFkOFsRUtyrLFlo2qrGARuglELG/wTxkkptxnmzRKFJC/FCJRQVYOsEkhnbc4dittKfLsrvdcpt70vc4CflqiBMoUt3tpvKSOdg05jYGtXOjUSRg7yJEvIQWmjTlS7VE3iPsjNEopBTUpbGDhAx9zqMTzCC+Lz3PqHet4wZt2qfF1LdUnCSLV1jYSN2O2Um8rknJdDK/xV0CvXbhQwBpbNKfoIPXh28hmeNW2MJufZCcSFcjNnK4Dvr5JtF2ZPI3XHSS/slXGk7PlNZiGxtYOzaQ7BBuaEIxJv16sgObnNKyq66llcx8K1rfkTHgZ+RIBpTv9JDZQ0BFd+ip7MXEO38mhz2pquFKSglxRemMkC1i6Jcd602clYpQHsA92EZYPLjOzFHA1nPSWSs0gZhrY1dOW5vtEOzjFc71tLWOo6QlkeDAKemqygyeH7uGHZY0iJgC8BREaEOBnqUCzWHlHycqsX7YdAOyhlvBeUPvwHfwp1dN7/JQuxJ6FgNfV/PRsGk=
Leo's avatar
Leo committed
34 35 36 37 38 39 40
    file_glob: true
    file: plugins/GenisysPro/*
    skip_cleanup: true
    on:
      tags: true
  - provider: pages
    github_token:
41
      secure: 1odWTasf1b9ypbGNF9okBTBGBXbErfXg4r/OzzRskB9o0UzK/G90cwrfGGdjQgM9rao4IQ6qSsZCTPGODsot7ATQeofKYjM8ToPDKe8gzMuro8D1nDdLQoajb5ZQVl0Uc6X+WSpCR8Q46jtp3lKP44Xd3cZzObfJfESSatq3vFkOFsRUtyrLFlo2qrGARuglELG/wTxkkptxnmzRKFJC/FCJRQVYOsEkhnbc4dittKfLsrvdcpt70vc4CflqiBMoUt3tpvKSOdg05jYGtXOjUSRg7yJEvIQWmjTlS7VE3iPsjNEopBTUpbGDhAx9zqMTzCC+Lz3PqHet4wZt2qfF1LdUnCSLV1jYSN2O2Um8rknJdDK/xV0CvXbhQwBpbNKfoIPXh28hmeNW2MJufZCcSFcjNnK4Dvr5JtF2ZPI3XHSS/slXGk7PlNZiGxtYOzaQ7BBuaEIxJv16sgObnNKyq66llcx8K1rfkTHgZ+RIBpTv9JDZQ0BFd+ip7MXEO38mhz2pquFKSglxRemMkC1i6Jcd602clYpQHsA92EZYPLjOzFHA1nPSWSs0gZhrY1dOW5vtEOzjFc71tLWOo6QlkeDAKemqygyeH7uGHZY0iJgC8BREaEOBnqUCzWHlHycqsX7YdAOyhlvBeUPvwHfwp1dN7/JQuxJ6FgNfV/PRsGk=
Leo's avatar
Leo committed
42 43 44 45
    local_dir: plugins/GenisysPro
    skip_cleanup: true
    on:
      branch: master
46 47
    email: 30682912+GenisysPro-deploy@users.noreply.github.com
    name: GenisysPro-deploy