Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit d54a2e8

Browse files
committed
Fixed 'too long name' error.
1 parent 5bc12b9 commit d54a2e8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.travis.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,8 @@ script:
2929
- git describe --long
3030
- |
3131
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
4034
else
4135
./tools/ubuntu.trusty.test.sh
4236
fi;

rpm/tarantool-graphql.spec

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ Set of adapters for GraphQL query language to the Tarantool data model
4242
%setup -q -n %{name}-%{version}
4343

4444
%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
4551
make test
4652

4753
%install

0 commit comments

Comments
 (0)