Merge pull request #1526 from ChillerDragon/UpgradeCircle2

Upgrade to circleci version 2
This commit is contained in:
oy 2018-10-16 18:50:13 +02:00 committed by GitHub
commit 6c85d5a8e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 18 deletions

19
.circleci/config.yml Normal file
View file

@ -0,0 +1,19 @@
version: 2
jobs:
build:
docker:
- image: buildpack-deps:stretch
steps:
- checkout
- run:
name: Build bam
command: |
apt-get update -y
apt-get install libsdl2-dev libfreetype6-dev -y
git clone https://github.com/matricks/bam.git ~/bam
cd ~/bam/
git reset --hard f012dd9a3e38295b8a45af5a101d29573381f169
./make_unix.sh
- run:
name: Build teeworlds
command: ~/bam/bam conf=release all

View file

@ -1,18 +0,0 @@
dependencies:
pre:
- |
sudo apt-get install libsdl2-dev libfreetype6-dev
if [ ! -d ~/bam ]; then
git clone https://github.com/matricks/bam.git ~/bam
cd ~/bam/
git reset --hard f012dd9a3e38295b8a45af5a101d29573381f169
./make_unix.sh
fi
cache_directories:
- "~/bam/"
test:
override:
- ~/bam/bam conf=release all