Skip to content

Commit 428b063

Browse files
committed
Move scripts from .travis to .ci because they're also used by GitHub Actions
1 parent 5e9336a commit 428b063

8 files changed

Lines changed: 12 additions & 12 deletions

File tree

File renamed without changes.
File renamed without changes.
File renamed without changes.

.github/workflows/test-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
pip install wheel
5151
sudo apt-get install -qq ruby-dev
5252
PATH="$PATH:~/.local/bin"
53-
.travis/after_success.sh
53+
.ci/after_success.sh
5454
env:
5555
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
5656

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
with:
3737
path: ~/.cache/pip
3838
key:
39-
${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/.travis/*.sh') }}
39+
${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/.ci/*.sh') }}
4040
restore-keys: |
4141
${{ matrix.os }}-${{ matrix.python-version }}-
4242
@@ -46,7 +46,7 @@ jobs:
4646
with:
4747
path: ~/Library/Caches/pip
4848
key:
49-
${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/.travis/*.sh') }}
49+
${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/.ci/*.sh') }}
5050
restore-keys: |
5151
${{ matrix.os }}-${{ matrix.python-version }}-
5252
@@ -61,7 +61,7 @@ jobs:
6161
- name: Install Linux dependencies
6262
if: startsWith(matrix.os, 'ubuntu')
6363
run: |
64-
.travis/install.sh
64+
.ci/install.sh
6565
6666
- name: Install macOS dependencies
6767
if: startsWith(matrix.os, 'macOS')
@@ -70,11 +70,11 @@ jobs:
7070
7171
- name: Build
7272
run: |
73-
.travis/build.sh
73+
.ci/build.sh
7474
7575
- name: Test
7676
run: |
77-
.travis/test.sh
77+
.ci/test.sh
7878
7979
- name: Upload errors
8080
uses: actions/upload-artifact@v1
@@ -86,7 +86,7 @@ jobs:
8686
- name: After success
8787
if: success()
8888
run: |
89-
.travis/after_success.sh
89+
.ci/after_success.sh
9090
env:
9191
MATRIX_OS: ${{ matrix.os }}
9292
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,20 @@ install:
4545
if [ "$LINT" == "true" ]; then
4646
pip install tox
4747
else
48-
.travis/install.sh;
48+
.ci/install.sh;
4949
fi
5050
5151
script:
5252
- |
5353
if [ "$LINT" == "true" ]; then
5454
tox -e lint
5555
else
56-
.travis/build.sh
57-
.travis/test.sh
56+
.ci/build.sh
57+
.ci/test.sh
5858
fi
5959
6060
after_success:
6161
- |
6262
if [ "$LINT" == "" ]; then
63-
.travis/after_success.sh
63+
.ci/after_success.sh
6464
fi

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ global-exclude .git*
2626
global-exclude *.pyc
2727
global-exclude *.so
2828
prune .azure-pipelines
29-
prune .travis
29+
prune .ci

0 commit comments

Comments
 (0)