Skip to content

Commit 62aed3d

Browse files
authored
ci: rename travis -> ci and modify CI docs (#66)
- now that GH Actions are merged, thoroughly tested, and working: - rename `travis` dir to `ci` dir instead - update `release.md` to remove Travis references and reference GH Actions files instead - and just generic "ci build" instead of "travis build" - CI is working now, so uncomment/unquote the previous numbers - leave `cp_to_travis` and `reverse_ssh_tunnel` as is for now, in case Sylvain wants to adapt them to GH Actions - I'm not sure they'll work as-is on GH Actions (e.g. `travis_base` won't exist), so they may need further modification - (or it may not be possible at all with GH Actions to do reverse SSH) - that is beyond my scope since I'm not using these, don't have a bounce host, and am developing on a Mac locally
1 parent 190c0f2 commit 62aed3d

File tree

6 files changed

+23
-26
lines changed

6 files changed

+23
-26
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
run: |
2828
bash --version ; type bash
2929
# hack for speedup on mac build with our own bash5
30-
./travis/get_bash5_macos.sh
31-
./travis/get_bats-core.sh
30+
./ci/get_bash5_macos.sh
31+
./ci/get_bats-core.sh
3232
go get github.com/docopt/docopt-go
3333
# get our official repos too
3434
go get github.com/docopt/docopts
@@ -38,4 +38,4 @@ jobs:
3838
# For debugging, create reverse SSH tunnel (this should be run on failure too)
3939
# - name: Debug
4040
# if: runner.os == "macOS"
41-
# run: bash -x ./travis/reverse_ssh_tunnel.sh
41+
# run: bash -x ./ci/reverse_ssh_tunnel.sh

travis/cp_to_travis.sh renamed to ci/cp_to_travis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# Usage: ./travis/cp_to_travis.sh LOCAL_FILENAME
3+
# Usage: ./ci/cp_to_travis.sh LOCAL_FILENAME
44
#
55
# require: a bounce host MUST be set before!
66

travis/get_bash5_macos.sh renamed to ci/get_bash5_macos.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,5 @@ type bash
2828
MY_BASH_VERSINFO=$(bash --version | sed -n -e '1 s/^.*version \([0-9.]\{1,\}\).*/\1/ p')
2929
if [[ ! $MY_BASH_VERSINFO =~ ^[4-9] ]] ; then
3030
echo "install bash5 failed"
31-
# ./travis/reverse_ssh_tunnel.sh
3231
exit 1
3332
fi
File renamed without changes.

travis/reverse_ssh_tunnel.sh renamed to ci/reverse_ssh_tunnel.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env bash
22
#
3-
# Usage: add this line to .travis.yml at the end of the script: section
4-
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bash -x ./travis/reverse_ssh_tunnel.sh ; fi
3+
# Usage: uncomment the reverse_ssh_tunnel lines in .github/workflows/ci.yml at the bottom of the file
54
# required: a bounce host MUST be set before!
65
# NOTE: ansible playbook to build the bounce_host not provided yet.
76

docs/release.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,24 @@ git checkout master
4444
git commit -a
4545
```
4646

47-
TRAVIS CI is gone, #54
48-
> ## 5. push on origin for a travis build
49-
>
50-
> ```
51-
> git push origin master
52-
> ```
53-
>
54-
> ## 6. remove travis hack macos if any
55-
>
56-
> ```
57-
> sed -i -e '/travis.reverse_ssh_tunnel.sh/ s/^\([^#]\)/#\1/' .travis.yml
58-
> ```
59-
>
60-
> ## 7. push on docopts for a travis build
61-
>
62-
> ```
63-
> git commit -a
64-
> git push docopts master
65-
> ```
47+
## 5. push on origin for a ci build
48+
49+
```
50+
git push origin master
51+
```
52+
53+
## 6. remove reverse ssh hack macos if any
54+
55+
```
56+
sed -i -e '/ci.reverse_ssh_tunnel.sh/ s/^\([^#]\)/#\1/' .github/workflows/ci.yml
57+
```
58+
59+
## 7. push on docopts for a ci build
60+
61+
```
62+
git commit -a
63+
git push docopts master
64+
```
6665

6766
## 8. tag the new release
6867

0 commit comments

Comments
 (0)