Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Cleanup Travis build script

davidmezzetti5d270dad79db
diff --git a/.travis.yml b/.travis.yml
index 763a5701..58c9d4a6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,14 +1,11 @@
# Travis CI build script - test on all supported platforms
-matrix:
+os: linux
+dist: xenial
+language: python
+jobs:
include:
- name: "Linux"
- os: linux
- language: python
- before_install:
- - pip install -U pip coverage coveralls
- - python --version
script:
- - pip install .
- make coverage
after_success:
- coveralls
@@ -16,11 +13,7 @@ matrix:
os: osx
osx_image: xcode11.4
language: shell
- before_install:
- - pip3 install -U pip
- - python3 --version
script:
- - pip3 install .
- make PYTHON=python3 test
- name: "Windows"
os: windows
@@ -29,9 +22,11 @@ matrix:
before_install:
- choco install make
- choco install python --version 3.6.8
- - python --version
- - python -m pip install --upgrade pip wheel
+ - python -m pip install -U pip wheel
- python -m pip install torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
- script:
- - pip install .
- - make test
+install:
+ - pip3 install -U pip wheel coverage coverall
+ - pip3 install .
+ - python3 --version || python --version
+script:
+ - make test