You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user/deployment/biicode.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: biicode deployment
3
3
layout: en
4
-
permalink: biicode/
4
+
permalink: /user/deployment/biicode/
5
5
---
6
6
7
7
Travis CI can automatically publish your [biicode](https://www.biicode.com) blocks after a successful deploy.
@@ -58,7 +58,7 @@ Builds triggered from Pull Requests will never trigger a deploy.
58
58
59
59
After your tests ran and before the deploy, Travis CI will clean up any additional files and changes you made.
60
60
61
-
Maybe that is not what you want, as you might generate some artifacts that are supposed to be deployed too (like dependencies' data). There is now an option to skip the clean up:
61
+
Maybe that is not what you want, as you might generate some artifacts that are supposed to be deployed too (like dependencies' data). There is an option to skip the clean up:
62
62
63
63
{% highlight yaml %}
64
64
deploy:
@@ -113,14 +113,14 @@ install
113
113
Let's say you have a C++ math library called *CppMath*. It's hosted in github and you are running some unit tests via Travis CI.
114
114
Deploy your CppMath library to biicode, a C and C++ dependency manager, make it available for everybody to use via an `#include`!
115
115
116
-
Use Travis CI with biicode to automatize* the process:
116
+
Use Travis CI with biicode to automate the process:
117
117
118
118
- Run some unit tests on the library
119
119
- Use `bii publish` command to deploy to biicode.
120
120
121
121
Here's [CppMath example code](https://github.com/Manu343726/CppMath/), it's structured as a `manu343726/cppmath` biicode block. *manu343726 is the biicode developer who wrote the example, hence that user instead of `developer`.*
122
122
123
-
Supposing your biicode account is `developer`, create a `.travis.yml` file to automatize deploy and publish like this:
123
+
Supposing your biicode account is `developer`, create a `.travis.yml` file to automate deploy and publish like this:
124
124
125
125
{% highlight yaml %}
126
126
install:
@@ -140,7 +140,7 @@ deploy:
140
140
repo: developer/cppmath #GitHub repo
141
141
{% endhighlight %}
142
142
143
-
Script part creates, builds and runs the project and if it's a success Travis CI executes deploy publishing the `developer/cppmath` block.
143
+
`install:` installs biicode cand configures C++ tools. `script:`creates, builds and runs the project. If it's a success Travis CI executes deploy publishing the `developer/cppmath` block.
144
144
145
145
>**Tip**
146
146
>biicode generates an executable `user_blockname_sourcefilename` for each source file with a `main()` function. In the example it would be `developer_cppmath_tests`.
0 commit comments