Skip to content

Commit 4130411

Browse files
committed
[feature] Initial commit
0 parents  commit 4130411

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+6470
-0
lines changed

.gitignore

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
################################################################################################################################################################
2+
3+
# @project Library/Mathematics
4+
# @file .gitignore
5+
# @author Lucas Brémond <lucas@loftorbital.com>
6+
# @license TBD
7+
8+
################################################################################################################################################################
9+
10+
# Operating Systems
11+
12+
## Mac OS
13+
14+
**/.DS_Store
15+
16+
# Editors
17+
18+
## Visual Studio Code
19+
20+
.vscode/
21+
22+
## Sublime Text
23+
24+
*.sublime-workspace
25+
*.sublime-project
26+
27+
# Project
28+
29+
## Common
30+
31+
!.gitignore
32+
!.gitkeep
33+
34+
## Binaries
35+
36+
bin/*
37+
lib/*
38+
build/
39+
*.so*
40+
*.a
41+
*.exe*
42+
*.rpm*
43+
44+
## Documentation
45+
46+
docs/html/
47+
docs/latex/
48+
49+
## Misc.
50+
51+
tmp/
52+
53+
################################################################################################################################################################

.travis.yml

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
################################################################################################################################################################
2+
3+
# @project Library/Astrodynamics
4+
# @file .travis.yml
5+
# @author Lucas Brémond <lucas@loftorbital.com>
6+
# @license TBD
7+
8+
################################################################################################################################################################
9+
10+
branches:
11+
12+
only:
13+
14+
- /^\d+\.\d+(\.\d+)?(-\S*)?$/
15+
- master
16+
- dev
17+
18+
os:
19+
20+
- linux
21+
22+
sudo: false
23+
24+
services:
25+
26+
- docker
27+
28+
language: cpp
29+
30+
env:
31+
32+
global:
33+
34+
- LANG="en_US.UTF-8"
35+
36+
stages:
37+
38+
- test
39+
- coverage
40+
- name: deploy
41+
if: tag =~ ^\d+\.\d+(\.\d+)?(-\S*)?$
42+
43+
jobs:
44+
45+
include:
46+
47+
- stage: test
48+
49+
script:
50+
51+
# Pull Docker image from repository
52+
53+
- echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin
54+
- docker pull openspacecollective/library-astrodynamics:latest || true
55+
56+
# Run tests
57+
58+
- ./tools/ci/test.sh
59+
60+
- stage: coverage
61+
62+
script:
63+
64+
# Pull Docker image from repository
65+
66+
- echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin
67+
- docker pull openspacecollective/library-astrodynamics:latest || true
68+
69+
# Run coverage
70+
71+
- ./tools/ci/coverage.sh
72+
73+
- stage: deploy
74+
75+
script:
76+
77+
# Pull Docker image from repository
78+
79+
- echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin
80+
- docker pull openspacecollective/library-astrodynamics:latest || true
81+
82+
# Generate and deploy documentation
83+
84+
- ./tools/ci/documentation.sh
85+
86+
# Generate and deploy binaries
87+
88+
- ./tools/ci/binaries.sh
89+
90+
before_deploy:
91+
92+
- echo "Deploying binaries to GitHub Releases..."
93+
94+
deploy:
95+
96+
provider: releases
97+
api_key: ${GITHUB_API_KEY}
98+
file_glob: true
99+
file:
100+
- ./bin/*
101+
- ./lib/*
102+
skip_cleanup: true
103+
on:
104+
branch: master
105+
tags: true
106+
107+
################################################################################################################################################################

.yo-rc.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"generator-cpp": {
3+
"projectName": "Library",
4+
"projectDescription": "Astrodynamics library.",
5+
"projectPath": "Library/Astrodynamics",
6+
"projectPackage": "library-astrodynamics",
7+
"projectLicense": "TBD",
8+
"authorName": "Lucas Brémond",
9+
"authorEmail": "contact@open-space-collective.org",
10+
"companyName": "Open Space Collective",
11+
"companyId": "org.open-space-collective",
12+
"companyWebsite": "open-space-collective.org",
13+
"buildSharedLib": true,
14+
"buildStaticLib": false,
15+
"buildUtility": false,
16+
"buildTest": true,
17+
"unitTestType": "gtest",
18+
"buildCodeCoverage": true,
19+
"buildDocumentation": true
20+
}
21+
}

0 commit comments

Comments
 (0)