How would one go about testing their plugins with Travis-CI ? I saw what @robske_110 (Tim) did with BanWarn, but when I tried using that technique on my Plugin Repo, it didn't work. Is there some sort of script you can use in .travis.yml ?
Travis is not related at all to pocketmine and to use it you need to script your own travis script to get pocketmine bin and run it and start your plugin with dev tools and then show the error or your plugin works then stop the server But poggit is designed for pocketmine plugins it builds your plugin and gives you the errors without the need to script your own poggit script you just need your pocketmine plugin and github link is here http://poggit.pmmp.io
But that dosent solve the question of how to do it, even if you use poggit/whatever alternatives existed you still wont magically know how to use travis since this thread is focused on how not replacements, maybe we should go toward more of that one
yea, my script should be pretty straightforward? Could you link me your repo, then I can create you a script that'll do the job
https://github.com/RevivalPMMP/PureEntitiesX I did try using your script. Strangely, it doesn't seem to work. Maybe you can figure it out. I have been slamming my head against the table. I get as far as executing /makeplugin, but then it gives me 'invalid plugin' name error Poggit doesn't show you how your plugin behaves in a server environment, only that it built the phar. It does check your plugin for errors, but not from a server standpoint. It just checks the code. I would much rather use @robske_110 (Tim) 's method and see how it works in the server, and use Poggit for Public access and builds.
Note that you can write a script to wait for Poggit builds and download the phar instead of running the plugin from source. This may be useful for people whose plugins are not built in standard structure, e.g. if there is dependency management, or if it is not in the default plugin.yml model.
I've been looking for a Travis CI Script so I figured I would use yours, but I'm getting a error. https://github.com/MyMoney-PMMP/MyMoney
In your command: Code: cp -rf English/ PocketMine-MP/plugins/ You should remove the space after English/
NO! You should simply remove 'English'. (Not the backslash) English is just because my plugin has two versions.
Code: Resolving jenkins.pmmp.io (jenkins.pmmp.io)... 104.27.180.131, 104.27.181.131, 2400:cb00:2048:1::681b:b583, ... Connecting to jenkins.pmmp.io (jenkins.pmmp.io)|104.27.180.131|:443... connected. HTTP request sent, awaiting response... 522 Origin Connection Time-out 2017-01-19 21:43:24 ERROR 522: Origin Connection Time-out. Blame @humerusj