Skip to content

Commit

Permalink
Merge pull request universal-ctags#1726 from masatake/circleci--fedor…
Browse files Browse the repository at this point in the history
…a-and-centos

circleci: run tests on centos:latest
  • Loading branch information
masatake authored Apr 2, 2018
2 parents 1b94687 + 7072fd1 commit fb06a6c
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2
jobs:
build:
fedora_bmake:
working_directory: ~/universal-ctags
docker:
- image: docker.io/fedora:latest
Expand All @@ -24,3 +24,35 @@ jobs:
name: Test
command: |
MAKE=bmake bmake check roundtrip CIRCLECI=1
centos_make:
working_directory: ~/universal-ctags
docker:
- image: docker.io/centos:latest
steps:
- run:
name: Install Git
command: |
yum -y install git || :
- checkout
- run:
name: Install build tools
# TODO: enable spell checker
command: |
yum -y install gcc automake autoconf pkgconfig make libxml2-devel jansson-devel libyaml-devel findutils || :
- run:
name: Build
command: |
bash ./autogen.sh
./configure --enable-debugging
make -j 2
- run:
name: Test
command: |
make check roundtrip CIRCLECI=1
workflows:
version: 2
build_and_test:
jobs:
- fedora_bmake
- centos_make

0 comments on commit fb06a6c

Please sign in to comment.