Skip to content

Commit 417d3ed

Browse files
committed
Add hidden files from template
1 parent 62e2ea5 commit 417d3ed

File tree

6 files changed

+180
-2
lines changed

6 files changed

+180
-2
lines changed

.ci/install.sh

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex
4+
5+
if [[ "$(uname -s)" == 'Darwin' ]]; then
6+
brew update || brew update
7+
brew outdated pyenv || brew upgrade pyenv
8+
brew install pyenv-virtualenv
9+
brew install cmake || true
10+
11+
if which pyenv > /dev/null; then
12+
eval "$(pyenv init -)"
13+
fi
14+
15+
pyenv install 3.7.1
16+
pyenv virtualenv 3.7.1 conan
17+
pyenv rehash
18+
pyenv activate conan
19+
fi
20+
21+
pip install conan --upgrade
22+
pip install conan_package_tools bincrafters_package_tools
23+
24+
conan user

.ci/run.sh

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
3+
set -ex
4+
5+
if [[ "$(uname -s)" == 'Darwin' ]]; then
6+
if which pyenv > /dev/null; then
7+
eval "$(pyenv init -)"
8+
fi
9+
pyenv activate conan
10+
fi
11+
12+
python build.py

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.py text eol=lf

.github/settings.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
repository:
2+
# See https://developer.github.com/v3/repos/#edit for all available settings.
3+
4+
# Either `true` to enable issues for this repository, `false` to disable them.
5+
has_issues: false
6+
7+
# Either `true` to enable the wiki for this repository, `false` to disable it.
8+
has_wiki: false
9+
10+
# Either `true` to enable the wiki for this repository, `false` to disable it.
11+
has_projects: false
12+
13+
branches:
14+
- name: "stable/*"
15+
# https://developer.github.com/v3/repos/branches/#update-branch-protection
16+
# Branch Protection settings. Set to null to disable
17+
protection:
18+
# Required. Require at least one approving review on a pull request, before merging. Set to null to disable.
19+
required_pull_request_reviews:
20+
# The number of approvals required. (1-6)
21+
required_approving_review_count: 1
22+
# Dismiss approved reviews automatically when a new commit is pushed.
23+
dismiss_stale_reviews: false
24+
# Blocks merge until code owners have reviewed.
25+
require_code_owner_reviews: false
26+
# Specify which users and teams can dismiss pull request reviews. Pass an empty dismissal_restrictions object to disable. User and team dismissal_restrictions are only available for organization-owned repositories. Omit this parameter for personal repositories.
27+
dismissal_restrictions:
28+
users: []
29+
teams: []
30+
31+
# Required. Require status checks to pass before merging. Set to null to disable
32+
required_status_checks:
33+
# Required. Require branches to be up to date before merging.
34+
strict: true
35+
# Required. The list of status checks to require in order to merge into this branch
36+
contexts: []
37+
# Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable.
38+
enforce_admins: false
39+
# Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable.
40+
restrictions:
41+
users: []
42+
teams: []

.gitignore

+46-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,46 @@
1-
.idea
2-
cmake-build-debug
1+
# Compiled Object files
2+
*.slo
3+
*.lo
4+
*.o
5+
*.obj
6+
7+
# Precompiled Headers
8+
*.gch
9+
*.pch
10+
11+
# Compiled Dynamic libraries
12+
*.so
13+
*.dylib
14+
*.dll
15+
16+
# Fortran module files
17+
*.mod
18+
*.smod
19+
20+
# Compiled Static libraries
21+
*.lai
22+
*.la
23+
*.a
24+
*.lib
25+
26+
# Executables
27+
*.exe
28+
*.out
29+
*.app
30+
31+
# Cache
32+
__pycache__/*
33+
test_package/__pycache__/*
34+
test_package/build/*
35+
build/*
36+
*.pyc
37+
tmp/
38+
39+
# IDE
40+
.idea/*
41+
.project
42+
.pydevproject
43+
.settings/*
44+
.ropeproject/*
45+
## emacs
46+
*~

.travis.yml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
linux: &linux
2+
os: linux
3+
dist: xenial
4+
language: python
5+
python: "3.7"
6+
services:
7+
- docker
8+
osx: &osx
9+
os: osx
10+
language: generic
11+
matrix:
12+
include:
13+
- <<: *linux
14+
env: CONAN_GCC_VERSIONS=4.9 CONAN_DOCKER_IMAGE=conanio/gcc49
15+
- <<: *linux
16+
env: CONAN_GCC_VERSIONS=5 CONAN_DOCKER_IMAGE=conanio/gcc5
17+
- <<: *linux
18+
env: CONAN_GCC_VERSIONS=6 CONAN_DOCKER_IMAGE=conanio/gcc6
19+
- <<: *linux
20+
env: CONAN_GCC_VERSIONS=7 CONAN_DOCKER_IMAGE=conanio/gcc7
21+
- <<: *linux
22+
env: CONAN_GCC_VERSIONS=8 CONAN_DOCKER_IMAGE=conanio/gcc8
23+
- <<: *linux
24+
env: CONAN_CLANG_VERSIONS=3.9 CONAN_DOCKER_IMAGE=conanio/clang39
25+
- <<: *linux
26+
env: CONAN_CLANG_VERSIONS=4.0 CONAN_DOCKER_IMAGE=conanio/clang40
27+
- <<: *linux
28+
env: CONAN_CLANG_VERSIONS=5.0 CONAN_DOCKER_IMAGE=conanio/clang50
29+
- <<: *linux
30+
env: CONAN_CLANG_VERSIONS=6.0 CONAN_DOCKER_IMAGE=conanio/clang60
31+
- <<: *linux
32+
env: CONAN_CLANG_VERSIONS=7.0 CONAN_DOCKER_IMAGE=conanio/clang7
33+
- <<: *osx
34+
osx_image: xcode7.3
35+
env: CONAN_APPLE_CLANG_VERSIONS=7.3
36+
- <<: *osx
37+
osx_image: xcode8.3
38+
env: CONAN_APPLE_CLANG_VERSIONS=8.1
39+
- <<: *osx
40+
osx_image: xcode9
41+
env: CONAN_APPLE_CLANG_VERSIONS=9.0
42+
- <<: *osx
43+
osx_image: xcode9.4
44+
env: CONAN_APPLE_CLANG_VERSIONS=9.1
45+
- <<: *osx
46+
osx_image: xcode10.1
47+
env: CONAN_APPLE_CLANG_VERSIONS=10.0
48+
49+
install:
50+
- chmod +x .ci/install.sh
51+
- ./.ci/install.sh
52+
53+
script:
54+
- chmod +x .ci/run.sh
55+
- ./.ci/run.sh

0 commit comments

Comments
 (0)