forked from PAYONE-GmbH/magento-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (43 loc) · 1.96 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
dist: trusty
language: php
sudo: required
php:
- '7.0'
- '7.1'
- '7.2'
- '7.3'
env:
- MAGEVER=2.2
- MAGEVER=2.3
matrix:
exclude:
- php: '7.0'
env: MAGEVER=2.3
- php: '7.2'
env: MAGEVER=2.2
- php: '7.3'
env: MAGEVER=2.2
services:
- mysql
before_script:
- echo Building for Magento Version $MAGEVER
- phpenv config-rm xdebug.ini
- mysql -e 'CREATE DATABASE IF NOT EXISTS magentotravis;'
- git clone --depth=10 -b $MAGEVER https://github.com/magento/magento2 /tmp/build
- cd /tmp/build
- composer update
- php bin/magento setup:install --base-url=http://magebuild.integrations.p1-test.de/build/
--db-host=localhost --db-name=magentotravis --db-user=root --admin-firstname=Dieter
--admin-lastname=Demo [email protected] --admin-user=DieterDemo
--admin-password=72q980hdfq2378ga9w87dg6 --language=de_DE --currency=EUR --timezone=Europe/Berlin
- composer require payone-gmbh/magento-2 dev-master
- rm -rf /tmp/build/vendor/payone-gmbh/magento-2/*
- cp -R /home/travis/build/PAYONE-GmbH/magento-2/* /tmp/build/vendor/payone-gmbh/magento-2
- php bin/magento setup:upgrade
- php bin/magento setup:di:compile
- php bin/magento cache:clean
script:
- ./vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist vendor/payone-gmbh/magento-2/Test/Unit
notifications:
slack:
secure: 0DYnTXLfT5IHhob0D5doC31roXODSF60LNBT2zGisyJwhoLowmGiwH3gG1R+h4UfqVz1/b6raGxB2u2NSsL9yEffS0E1EO2NTvyMWnkmcjloZQ3Rc9iuPWzIS6EdoxSh5HvyCcWXm+bZeseGlM1KijhDU3HlwIRFmTAggm76+oNJWwBUHGWuaGBiqywTbzP/Ttva5LGsVOzTJV1bOSTqVk5UXkf+Gh6qxWHSnECr7F4229a1XfGjz+4gcEf0wB+sbodSZdSbK0UtZpWwEPU7mt90ZuchaxtGZPzWSmjy6nRV8+L8ZtSnbqEVN0tojOhYesaURqkUZqm6/RsrHMBE4t3PJaLV4Yt75rSD/T2hiFgv29TdqFfoSrweLxDcf7CgPMAg4hI5WT+SSMnzRd51LFer3LyA10jcXKzmjk4cTZxz219pfCWfzvrixHwvgTc2z4wDLkHEMdB7CgTYZWG/VeY6GP8PoqY6Q17R33Hbga5F2IZApiIMzPRwE+G2+nyFiQ49ZANNYBnQIFfZ+QW4IVvRItlJUf8XpD2XEeo/tI1Th+7z0vVNHf96Y5Py4p2/hsc9hCjov5C8DtreXb8ctkuZXetgWcOukVcnaMWUVE4hfH/vjk0+pZkqq92zrREuNOXXrbVXkGJjcMHqSsRwdXrbYsomc0YOEBMR8U4k8FM=