From 914f959c6756b9da9ca9abaaaacc4c958a66fb2b Mon Sep 17 00:00:00 2001 From: Tomasz Hemperek Date: Tue, 5 May 2015 16:39:28 +0200 Subject: [PATCH 1/9] Add .travis.yml --- .travis.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..541493f42 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: python + +addons: + apt: + packages: + - gperf + +sudo: true + +notifications: + email: false + +install: + - git clone https://github.com/steveicarus/ivtest.git + - export PATH=$HOME/bin:$PATH + - sudo apt-get install gperf + +before_script: + - autoconf + - ./configure --prefix=$HOME + +script: + - make; make install + - cd ivtest; perl vvp_reg.pl From 50180ac4a689c40b888c3e141f79817c772b1a62 Mon Sep 17 00:00:00 2001 From: Tomasz Hemperek Date: Wed, 13 May 2015 21:35:21 +0200 Subject: [PATCH 2/9] Add clang support for travis --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 541493f42..ce4cc2cbb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,8 @@ -language: python +language: cpp + +compiler: + - clang + - gcc addons: apt: From a844f4a8a257772044506c29f9fcafd8a4c56b3f Mon Sep 17 00:00:00 2001 From: Tomasz Hemperek Date: Mon, 24 Aug 2015 10:57:47 +0200 Subject: [PATCH 3/9] use docker infrastructure for travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ce4cc2cbb..23d4cf799 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ addons: packages: - gperf -sudo: true +sudo: false notifications: email: false From 821b87a3ebaf50f428b84eacf9cec28bd54cf37b Mon Sep 17 00:00:00 2001 From: Tomasz Hemperek Date: Mon, 24 Aug 2015 10:58:54 +0200 Subject: [PATCH 4/9] Update .travis.yml --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 23d4cf799..a04d69c4f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,6 @@ notifications: install: - git clone https://github.com/steveicarus/ivtest.git - export PATH=$HOME/bin:$PATH - - sudo apt-get install gperf before_script: - autoconf From 8b67c9ff62a9d471ca8de2c1b847bd723daf587b Mon Sep 17 00:00:00 2001 From: Tomasz Hemperek Date: Sat, 3 Nov 2018 08:07:11 +0100 Subject: [PATCH 5/9] Update .travis.yml --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index a04d69c4f..69ea6b4e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,10 @@ sudo: false notifications: email: false + +os: + - linux + - windows install: - git clone https://github.com/steveicarus/ivtest.git From a96609d4829c60af5783d6f198eadb9bdf53e389 Mon Sep 17 00:00:00 2001 From: Tomasz Hemperek Date: Sat, 3 Nov 2018 08:15:22 +0100 Subject: [PATCH 6/9] Update .travis.yml --- .travis.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 69ea6b4e7..a04d69c4f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,10 +13,6 @@ sudo: false notifications: email: false - -os: - - linux - - windows install: - git clone https://github.com/steveicarus/ivtest.git From cbe9bba291d2377b48d12fe0dea934a136f372c3 Mon Sep 17 00:00:00 2001 From: Tomasz Hemperek Date: Sat, 3 Nov 2018 21:35:13 +0100 Subject: [PATCH 7/9] Add windows build to travis-ci --- .travis.yml | 45 +++++++++++++++++++++++++++++++++------------ 1 file changed, 33 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index a04d69c4f..75a32b8ca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,16 @@ language: cpp -compiler: - - clang - - gcc +matrix: + include: + - os: linux + compiler: + - clang + - os: linux + compiler: + - gcc + - os: windows + compiler: + - gcc addons: apt: @@ -13,15 +21,28 @@ sudo: false notifications: email: false - + + install: - - git clone https://github.com/steveicarus/ivtest.git - - export PATH=$HOME/bin:$PATH - -before_script: - - autoconf - - ./configure --prefix=$HOME + - git clone https://github.com/steveicarus/ivtest.git + - export PATH=$HOME/bin:$PATH + + - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "Invoke-WebRequest -outfile 7zsetup.exe http://www.7-zip.org/a/7z1604-x64.exe"; fi + - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "Invoke-WebRequest -outfile msys2-x86_64-latest.tar.xz http://repo.msys2.org/distrib/msys2-x86_64-latest.tar.xz"; fi + - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "Start-Process .\7zsetup -ArgumentList '/S /D=c:/7zip' -Wait"; fi + - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\7zip\7z e msys2-x86_64-latest.tar.xz -Wait"; fi + - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\7zip\7z x msys2-x86_64-latest.tar -oC:\\" ; fi + - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -S base-devel mingw-w64-x86_64-toolchain'"; fi script: - - make; make install - - cd ivtest; perl vvp_reg.pl + - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\msys64\usr\bin\bash -lc 'PATH=/mingw64/bin:/bin ./autoconf.sh'"; fi + - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\msys64\usr\bin\bash -lc 'PATH=/mingw64/bin:/bin ./configure --prefix=/usr'"; fi + - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\msys64\usr\bin\bash -lc 'PATH=/mingw64/bin:/bin make'"; fi + - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\msys64\usr\bin\bash -lc 'PATH=/mingw64/bin:/bin make install'"; fi + - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\msys64\usr\bin\bash -lc 'PATH=/mingw64/bin:/bin iverilog -h'"; fi + - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\msys64\usr\bin\bash -lc 'export PATH=/mingw64/bin:/bin; cd $TRAVIS_BUILD_DIR/ivtest; perl vvp_reg.pl'"; fi + + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then autoconf; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./configure --prefix=$HOME; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make; make install; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ivtest; perl vvp_reg.pl; fi From 5cb562be48e0f7e789486f9daab06b42cfe61d4b Mon Sep 17 00:00:00 2001 From: Tomasz Hemperek Date: Sat, 3 Nov 2018 22:43:16 +0100 Subject: [PATCH 8/9] No clang for travis. --- .travis.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 75a32b8ca..147fd6ce0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,6 @@ language: cpp matrix: include: - - os: linux - compiler: - - clang - os: linux compiler: - gcc @@ -22,7 +19,6 @@ sudo: false notifications: email: false - install: - git clone https://github.com/steveicarus/ivtest.git - export PATH=$HOME/bin:$PATH From 45fa3b1decd62f5ac6cc0531c55216769a243da4 Mon Sep 17 00:00:00 2001 From: Tomasz Hemperek Date: Sat, 23 Mar 2019 16:29:09 +0100 Subject: [PATCH 9/9] cleanup travis.yml --- .travis.yml | 64 +++++++++++++++++++++++++++++------------------------ 1 file changed, 35 insertions(+), 29 deletions(-) diff --git a/.travis.yml b/.travis.yml index 147fd6ce0..0cc6fef94 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,6 @@ language: cpp - -matrix: - include: - - os: linux - compiler: - - gcc - - os: windows - compiler: - - gcc +sudo: required +dist: xenial addons: apt: @@ -19,26 +12,39 @@ sudo: false notifications: email: false -install: - - git clone https://github.com/steveicarus/ivtest.git - - export PATH=$HOME/bin:$PATH +jobs: + include: - - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "Invoke-WebRequest -outfile 7zsetup.exe http://www.7-zip.org/a/7z1604-x64.exe"; fi - - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "Invoke-WebRequest -outfile msys2-x86_64-latest.tar.xz http://repo.msys2.org/distrib/msys2-x86_64-latest.tar.xz"; fi - - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "Start-Process .\7zsetup -ArgumentList '/S /D=c:/7zip' -Wait"; fi - - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\7zip\7z e msys2-x86_64-latest.tar.xz -Wait"; fi - - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\7zip\7z x msys2-x86_64-latest.tar -oC:\\" ; fi - - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -S base-devel mingw-w64-x86_64-toolchain'"; fi + - stage: Test + os: linux + before_install: + - git clone https://github.com/steveicarus/ivtest.git + - export PATH=$HOME/bin:$PATH + script: + - autoconf + - ./configure --prefix=$HOME + - make + - make install + - cd ivtest + - perl vvp_reg.pl -script: - - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\msys64\usr\bin\bash -lc 'PATH=/mingw64/bin:/bin ./autoconf.sh'"; fi - - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\msys64\usr\bin\bash -lc 'PATH=/mingw64/bin:/bin ./configure --prefix=/usr'"; fi - - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\msys64\usr\bin\bash -lc 'PATH=/mingw64/bin:/bin make'"; fi - - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\msys64\usr\bin\bash -lc 'PATH=/mingw64/bin:/bin make install'"; fi - - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\msys64\usr\bin\bash -lc 'PATH=/mingw64/bin:/bin iverilog -h'"; fi - - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then PowerShell -Command "C:\msys64\usr\bin\bash -lc 'export PATH=/mingw64/bin:/bin; cd $TRAVIS_BUILD_DIR/ivtest; perl vvp_reg.pl'"; fi + - stage: Test + os: windows + before_install: + - git clone https://github.com/steveicarus/ivtest.git + - export PATH=$HOME/bin:$PATH + - PowerShell -Command "Invoke-WebRequest -outfile 7zsetup.exe http://www.7-zip.org/a/7z1604-x64.exe" + - PowerShell -Command "Invoke-WebRequest -outfile msys2-x86_64-latest.tar.xz http://repo.msys2.org/distrib/msys2-x86_64-latest.tar.xz" + - PowerShell -Command "Start-Process .\7zsetup -ArgumentList '/S /D=c:/7zip' -Wait" + - PowerShell -Command "C:\7zip\7z e msys2-x86_64-latest.tar.xz -Wait" + - PowerShell -Command "C:\7zip\7z x msys2-x86_64-latest.tar -oC:\\" + - PowerShell -Command "C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -S base-devel mingw-w64-x86_64-toolchain'" + script: + - PowerShell -Command "C:\msys64\usr\bin\bash -lc 'PATH=/mingw64/bin:/bin ./autoconf.sh'" + - PowerShell -Command "C:\msys64\usr\bin\bash -lc 'PATH=/mingw64/bin:/bin ./configure --prefix=/usr'" + - PowerShell -Command "C:\msys64\usr\bin\bash -lc 'PATH=/mingw64/bin:/bin make'" + - PowerShell -Command "C:\msys64\usr\bin\bash -lc 'PATH=/mingw64/bin:/bin make install'" + - PowerShell -Command "C:\msys64\usr\bin\bash -lc 'PATH=/mingw64/bin:/bin iverilog -h'" + - PowerShell -Command "C:\msys64\usr\bin\bash -lc 'export PATH=/mingw64/bin:/bin; cd $TRAVIS_BUILD_DIR/ivtest; perl vvp_reg.pl'" + - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then autoconf; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./configure --prefix=$HOME; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make; make install; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cd ivtest; perl vvp_reg.pl; fi