forked from marcobellaccini/pyAesCrypt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (54 loc) · 2.36 KB
/
.travis.yml
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
44
45
46
47
48
49
50
51
52
53
54
55
language: python
cache: pip
jobs:
include:
- name: "Python 3.6 on Ubuntu Xenial"
python: 3.6
before_install:
- wget https://www.aescrypt.com/download/v3/linux/aescrypt-3.14.tgz
- tar -xzf aescrypt-3.14.tgz
- pushd aescrypt-3.14/src && make && sudo make install && popd
- name: "Python 3.7 on Ubuntu Xenial"
python: 3.7
before_install:
- wget https://www.aescrypt.com/download/v3/linux/aescrypt-3.14.tgz
- tar -xzf aescrypt-3.14.tgz
- pushd aescrypt-3.14/src && make && sudo make install && popd
- name: "Python 3.8 on Ubuntu Xenial"
python: 3.8
before_install:
- wget https://www.aescrypt.com/download/v3/linux/aescrypt-3.14.tgz
- tar -xzf aescrypt-3.14.tgz
- pushd aescrypt-3.14/src && make && sudo make install && popd
- name: "Python 3.9 on Ubuntu Xenial"
python: 3.9
before_install:
- wget https://www.aescrypt.com/download/v3/linux/aescrypt-3.14.tgz
- tar -xzf aescrypt-3.14.tgz
- pushd aescrypt-3.14/src && make && sudo make install && popd
- name: "Python 3 on macOS 10.15.7"
os: osx
osx_image: xcode12.2
language: shell # 'language: python' is an error on Travis CI macOS
before_install:
- wget https://www.aescrypt.com/download/v3/mac/aescrypt_mac_v314_x64.zip
- tar -xzf aescrypt_mac_v314_x64.zip
- sudo cp usr/local/bin/aescrypt /usr/local/bin
# dirty trick to force python3
- sudo cp /usr/local/bin/python3 /usr/local/bin/python
- sudo cp /usr/local/bin/pip3 /usr/local/bin/pip
- name: "Python 3.8.0 on Windows"
os: windows # maps to Windows Server version 1809 - at least in Dec 2020
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python --version 3.8.0
- python -m pip install --upgrade pip
- wget https://www.aescrypt.com/download/v3/windows/AESCrypt_console_v310_x64.zip
- unzip AESCrypt_console_v310_x64.zip
- cp AESCrypt_console_v310_x64/aescrypt.exe ./
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
# command to install program dependencies (PyCA cryptography) and compatibility test dependencies (AES Crypt)
install:
- pip install cryptography
# command to run tests
script: python -m unittest discover