This repository was archived by the owner on Apr 14, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -29,14 +29,8 @@ script:
29
29
- git describe --long
30
30
- |
31
31
if [ -n "${OS}" ]; then
32
- ORIG_PWD=$(pwd)
33
- cd ..
34
- sudo mv graphql /graphql
35
- cd /graphql && git clone https://github.com/packpack/packpack.git
36
- cd /graphql && sudo make -f ./packpack/pack/Makefile BUILDDIR=$(pwd) \
37
- OS=$OS DIST=$DIST VERSION=$VERSION RELEASE=1 \
38
- PACKAGECLOUD_USER=$PACKAGECLOUD_USER PACKAGECLOUD_REPO=1_9
39
- sudo mv /graphql $ORIG_PWD
32
+ git clone https://github.com/packpack/packpack.git
33
+ packpack/packpack
40
34
else
41
35
./tools/ubuntu.trusty.test.sh
42
36
fi;
Original file line number Diff line number Diff line change @@ -42,6 +42,12 @@ Set of adapters for GraphQL query language to the Tarantool data model
42
42
%setup -q -n %{name }-%{version }
43
43
44
44
%check
45
+ # Originally 'check' section is executed in
46
+ # /build/usr/src/degub/tarantool-graphql directory.
47
+ # It makes names of unix sockets too long and therefore tests fail.
48
+ # To avoid it we copy sources to /build/graphql and run tests there.
49
+ cp -R . /build/graphql
50
+ cd /build/graphql
45
51
make test
46
52
47
53
%install
You can’t perform that action at this time.
0 commit comments