-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
45 lines (45 loc) · 1.54 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
44
45
language: php
php:
- 5.6
- 7.1
sudo: false
branches:
only:
- master
- develop
- "/\\d+\\.\\d+\\.\\d+?.*/"
env:
global:
- GIT_COMMITTER_NAME=travis-ci
- GIT_AUTHOR_NAME=travis-ci
- WP_VERSION=latest WP_MULTISITE=0
cache:
directories:
- node_modules
- resources/vendor
- "$HOME/.composer/cache"
install:
- nvm install 8
- npm install
- composer install
before_script:
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
script:
- ls -la resources/style.css resources/index.php resources/vendor/autoload.php
- composer test
before_deploy:
- npm run zip
- ls -la mimizuku.zip
- export RELEASE_FILE=$(ls mimizuku.zip)
deploy:
provider: releases
api_key:
secure: YUflTF70/QimcqH0VuQui/TMKzbSJM12VDE4CC27s0KMvjznEANLpzthtvG/eaTjgVHRA1ccoOLobLDF7OQEdcr65Qqps8d3N188viQf51xnb1prV7q3SnyaRhHwaTE/Fb/e0LI+GgwD62GAQ3V8x7prVmRdQeL8fRslARmnmJICIzUMpWP9z+hFHo6l/diKTiyI/9bzSyYgz6EFoMpKCo/nG7E3wfpkO+WihXA9rM4AFdP7xacB0W8nYTH9LL4FVjo4chppPyxRaO+X/R1o5xQ5f11jUPqq5qryRINm94Y3/H1TyI37IzuwiPr3XR1xZy+B/ATH9X7tb+bvYRKkmva2gfLEHC3AbGwQm/Ls01ZtzT+ihqoJUNuWv9add0RttjFzLcZrCAmLIdkcTmAwMwf2XOBST4jryyocYh+mgZP4on2w71g8klrMzRsRrp+djmeY7hs3usmmEehQFw3mibbl4dzMK+pJa/fkztK+l/Mi5NMJnudnFkKIRjITfGYfd+fBw0c0J2pIVejvGBb51WLPokaI64lqszKrv5DNFNzO5bC1FkjN9fp6bX/OVRTQD41ZV1WzDeBXwo3K6SEaeTCsdd0GgkUinAj1mhFbPQqZpYdZyTB/RdEjrpOG5Lx/x5jFLwMk8WR6eM8Y6K4V9vu+8CXtWfiAAo871mbogCE=
file: "${RELEASE_FILE}"
skip_cleanup: true
on:
tags: true
repo: inc2734/mimizuku
php: 7.1