-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathci.sh
More file actions
executable file
·43 lines (33 loc) · 842 Bytes
/
ci.sh
File metadata and controls
executable file
·43 lines (33 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/env bash
# Create Toil venv
rm -rf .env
virtualenv -p python3 --never-download .env
. .env/bin/activate
# Upgrade pip3
pip3 install --upgrade pip setuptools==45.0.0
set -e
# Create s3am venv
rm -rf s3am
virtualenv -p python3 --never-download s3am && s3am/bin/pip3 install s3am==2.0
mkdir -p bin
# Expose binaries to the PATH
ln -snf ${PWD}/s3am/bin/s3am bin/
export PATH=$PATH:${PWD}/bin
# Create awscli venv
rm -rf awscli
virtualenv -p python3 --never-download awscli && awscli/bin/pip3 install awscli
# Expose binaries to the PATH
ln -snf ${PWD}/awscli/bin/aws bin/
export PATH=$PATH:${PWD}/bin
make prepare
make develop
make test
#make docker
#make test_docker
make clean
# clean working copy to satisfy corresponding check in Makefile
rm -rf bin awscli s3am
make pypi
#make push_docker
#make clean_docker
rm -rf .env