Commit c36e058 1 parent 72dc12e commit c36e058 Copy full SHA for c36e058
File tree 3 files changed +56
-45
lines changed
3 files changed +56
-45
lines changed Original file line number Diff line number Diff line change
1
+ # Java Gradle CircleCI 2.0 configuration file
2
+ #
3
+ # Check https://circleci.com/docs/2.0/language-java/ for more details
4
+ #
5
+ version : 2
6
+ jobs :
7
+ build :
8
+ docker :
9
+ # specify the version you desire here
10
+ - image : circleci/openjdk:8-jdk
11
+
12
+ # Specify service dependencies here if necessary
13
+ # CircleCI maintains a library of pre-built images
14
+ # documented at https://circleci.com/docs/2.0/circleci-images/
15
+ # - image: circleci/postgres:9.4
16
+
17
+ working_directory : ~/repo
18
+
19
+ environment :
20
+ # Customize the JVM maximum heap limit
21
+ JVM_OPTS : -Xmx3200m
22
+ TERM : dumb
23
+
24
+ steps :
25
+ - checkout
26
+
27
+ # Download and cache dependencies
28
+ - restore_cache :
29
+ keys :
30
+ - jedis-{{ checksum "pom.xml" }}
31
+ # fallback to using the latest cache if no exact match is found
32
+ - jedis-
33
+
34
+ - run : mvn compile
35
+
36
+ - save_cache :
37
+ paths :
38
+ - ~/.m2
39
+ key : jedis-{{ checksum "pom.xml" }}
40
+
41
+ - run : |
42
+ sudo apt update
43
+ sudo apt install -y stunnel
44
+
45
+ - run : make circleci-install
46
+
47
+ - run : TEST="\!ModuleTest" make test
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -379,6 +379,15 @@ travis-install:
379
379
[ ! -e redis-git ] && git clone https://github.com/antirez/redis.git --branch unstable --single-branch redis-git || true
380
380
$(MAKE ) -C redis-git clean
381
381
$(MAKE ) -C redis-git
382
+
383
+ circleci-install :
384
+ sudo apt-get install -y gcc-8 g++-8
385
+ cd /usr/bin ; \
386
+ sudo ln -sf gcc-8 gcc ; \
387
+ sudo ln -sf g++-8 g++
388
+ [ ! -e redis-git ] && git clone https://github.com/antirez/redis.git --branch unstable --single-branch redis-git || true
389
+ $(MAKE ) -C redis-git clean
390
+ $(MAKE ) -C redis-git
382
391
383
392
compile-module :
384
393
gcc -shared -o /tmp/testmodule.so -fPIC src/test/resources/testmodule.c
You can’t perform that action at this time.
0 commit comments