add .gitattributes and .gitconfig

9 jobs for pybind11 in 19 minutes and 26 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Build Gcc Nocheck
failed job_make_gcc_nocheck #5727

00:03:21

 
  Test Gcc Nocheck
skipped job_test_gcc_nocheck #5728
 
  Code Coverage
passed job_code_coverage #5729

00:05:19

76.984%
 
  Build Python2
passed job_build_python2 #5730

00:03:15

 
  Build Python3
passed job_build_python3 #5731

00:02:37

 
  Test Python2
failed job_test_python2 #5732

00:02:22

 
  Test Python3
failed job_test_python3 #5733

00:02:29

 
  Build Clang
failed job_make_clang #5734

00:00:00

 
  Test Clang
skipped job_test_clang #5735
 
Name Stage Failure
failed
job_make_clang Build Clang
clang version 7.0.1-8 (tags/RELEASE_701/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
mkdir -p build/.unitTestObjects/src/unitTests/
clang++-3.9 -D XERUS_UNITTEST -I include -I src/unitTests src/unitTests/fullTensor_product.cxx -c -std=c++11 -Wall -Wextra -pedantic -Wundef -Wunreachable-code -Wdisabled-optimization -Wcast-qual -Wsign-promo -Winit-self -Wnon-virtual-dtor -Woverloaded-virtual -Wconversion -Wfloat-equal -Wshadow -Wswitch-default -Wpacked -Wcast-align -Wctor-dtor-privacy -Wold-style-cast -Wlogical-op-parentheses -Wno-error=return-type-c-linkage -Wno-comment -Wno-unknown-pragmas -Wno-unused-parameter -Werror -ferror-limit=3 -Wno-error=unused-parameter -Wno-error=unused-variable -Wno-error=disabled-optimization -D XERUS_VERSION="v3.0.1-401-ga8b6d40" -D XERUS_VERSION_MAJOR=3 -D XERUS_VERSION_MINOR=0 -D XERUS_VERSION_REVISION=1 -D XERUS_VERSION_COMMIT=401 -D XERUS_LOG_INFO -g -MMD -o build/.unitTestObjects/src/unitTests/fullTensor_product.o
/bin/sh: 1: clang++-3.9: not found
make: *** [Makefile:390: build/.unitTestObjects/src/unitTests/fullTensor_product.o] Error 127
ERROR: Job failed: exit status 1
failed
job_test_python3 Test Python3
  /usr/lib/python3.7/importlib/_bootstrap.py:219: DeprecationWarning: __int__ returned non-int (type bool).  The ability to return an instance of a strict subclass of int is deprecated, and may be removed in a future version of Python.
return f(*args, **kwds)
/usr/lib/python3.7/importlib/_bootstrap.py:219: DeprecationWarning: __int__ returned non-int (type bool). The ability to return an instance of a strict subclass of int is deprecated, and may be removed in a future version of Python.
return f(*args, **kwds)

-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 2 failed, 91 passed, 6 warnings in 1.62 seconds ================
make: *** [Makefile:341: test_python3] Error 1
ERROR: Job failed: exit status 1
failed
job_test_python2 Test Python2
    __import__(modname)
E File "/home/gitlab-runner/builds/ebec6b58/0/xerus/xerus/src/pyTests/test_tensor.py", line 46
E raise self.failureException(text.format(e.__class__.__name__)) from None
E ^
E SyntaxError: invalid syntax
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 1 error in 1.66 seconds ============================
make: *** [Makefile:335: test_python2] Error 2
ERROR: Job failed: exit status 1
failed
job_make_gcc_nocheck Build Gcc Nocheck
include/xerus/misc/allocator.h:56:62:   required from here
/usr/include/c++/8/bits/stl_vector.h:354:21: error: static assertion failed: std::vector must have the same value_type as its allocator
static_assert(is_same<typename _Alloc::value_type, _Tp>::value,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/stl_vector.h: In instantiation of ‘class std::vector<std::pair<unsigned char*, unsigned char*>, __gnu_cxx::malloc_allocator<void*> >’:
include/xerus/misc/allocator.h:57:58: required from here
/usr/include/c++/8/bits/stl_vector.h:354:21: error: static assertion failed: std::vector must have the same value_type as its allocator
make: *** [Makefile:367: build/.miscObjects/src/xerus/misc/allocator.o] Error 1
ERROR: Job failed: exit status 1