forked from ClearSkyTeam/PocketMine-MP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
27 lines (23 loc) · 854 Bytes
/
circle.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
#Circle-CI
#machine:
# php:
# version: 7.0.4
checkout:
post:
- git clone https://github.com/ClearSkyTeam/CI-Test
- git submodule sync --recursive
- git submodule update --recursive --init
dependencies:
override:
- mkdir plugins
- cd
- finalCMD=$(printf "s/CuttingEdge/$CIRCLE_BUILD_NUM/g"); printf ${finalCMD}; sed -i -e ${finalCMD} src/pocketmine/PocketMine.php;
- wget -O PHP7.tar.gz https://dl.bintray.com/pocketmine/PocketMine/PHP_7.0.6_x86-64_Linux.tar.gz --no-check-certificate
- tar -xf PHP7.tar.gz
- wget https://raw.githubusercontent.com/pmmp/PocketMine-MP/master/start.sh
- wget -O plugins/DevTools.phar https://github.com/ClearSkyTeam/DevTools/releases/download/v1.12.0/DevTools_v1.12.0.phar
test:
override:
- ./bin/php7/bin/php CI-Test/Travis.php
- ls -R
- cp -rv ./plugins/DevTools/ $CIRCLE_ARTIFACTS