]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
move travis files
authormerlokk <olegmsn@gmail.com>
Fri, 5 Jan 2018 09:51:51 +0000 (11:51 +0200)
committermerlokk <olegmsn@gmail.com>
Fri, 5 Jan 2018 09:51:51 +0000 (11:51 +0200)
.travis.yml [deleted file]
CI/.travis.yml [new file with mode: 0644]
CI/readme.md [new file with mode: 0644]
CI/travis_test_commands.scr [new file with mode: 0644]
travis_test_commands.scr [deleted file]

diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644 (file)
index 8e9289b..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-# Travis-CI config
-# variable REPOSITORY_EP must be filled with repository name. as sample: "merlokk/proxmark3"
-language: c
-
-compiler: gcc
-
-# Test on Linux and MacOS
-matrix:
-  include:
-    - os: osx
-      osx_image: xcode7.3      # OS X 10.11
-    - os: osx
-      osx_image: xcode8.3   # OS X 10.12
-    - os: osx
-      osx_image: xcode9     # OS X 10.12
-    - os: osx
-      osx_image: xcode9.2   # OS X 10.12
-    - os: linux
-      dist: trusty
-      sudo: required
-
-before_install:
-## Install ARM toolchain on Linux.
-## add our homebrew tap for MacOS
-## Note: all dependencies on MacOS should be resolved by the brew install command
-  echo $REPOSITORY_EP;
-  if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
-    sudo apt-get update -qq;
-    sudo apt-get install -y gcc-arm-none-eabi;
-  elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
-    brew update;
-    if [[ "$REPOSITORY_EP" == "" ]]; then
-      brew tap proxmark/proxmark3;
-    else
-      brew tap "$REPOSITORY_EP" --env=std;
-    fi
-  fi
-
-install:
-  if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 
-    brew info proxmark3;
-    brew install -v --HEAD proxmark3;
-  elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
-    make all;
-  fi
-
-before_script:
-
-script: 
-## for the time being we are satisfied if it can be build and then successfully started
-  if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 
-    proxmark3 /dev/notexists travis_test_commands.scr ;
-  elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
-    ./client/proxmark3  /dev/notexists travis_test_commands.scr ;
-  fi
diff --git a/CI/.travis.yml b/CI/.travis.yml
new file mode 100644 (file)
index 0000000..8e9289b
--- /dev/null
@@ -0,0 +1,55 @@
+# Travis-CI config
+# variable REPOSITORY_EP must be filled with repository name. as sample: "merlokk/proxmark3"
+language: c
+
+compiler: gcc
+
+# Test on Linux and MacOS
+matrix:
+  include:
+    - os: osx
+      osx_image: xcode7.3      # OS X 10.11
+    - os: osx
+      osx_image: xcode8.3   # OS X 10.12
+    - os: osx
+      osx_image: xcode9     # OS X 10.12
+    - os: osx
+      osx_image: xcode9.2   # OS X 10.12
+    - os: linux
+      dist: trusty
+      sudo: required
+
+before_install:
+## Install ARM toolchain on Linux.
+## add our homebrew tap for MacOS
+## Note: all dependencies on MacOS should be resolved by the brew install command
+  echo $REPOSITORY_EP;
+  if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
+    sudo apt-get update -qq;
+    sudo apt-get install -y gcc-arm-none-eabi;
+  elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
+    brew update;
+    if [[ "$REPOSITORY_EP" == "" ]]; then
+      brew tap proxmark/proxmark3;
+    else
+      brew tap "$REPOSITORY_EP" --env=std;
+    fi
+  fi
+
+install:
+  if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 
+    brew info proxmark3;
+    brew install -v --HEAD proxmark3;
+  elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
+    make all;
+  fi
+
+before_script:
+
+script: 
+## for the time being we are satisfied if it can be build and then successfully started
+  if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 
+    proxmark3 /dev/notexists travis_test_commands.scr ;
+  elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
+    ./client/proxmark3  /dev/notexists travis_test_commands.scr ;
+  fi
diff --git a/CI/readme.md b/CI/readme.md
new file mode 100644 (file)
index 0000000..bcfc454
--- /dev/null
@@ -0,0 +1,19 @@
+# How to configure continuous integration
+
+Here 2 CI configuration files:
+
+1. for [travis](travis-ci.org)
+2. for [appveyor](appveyor.com)
+
+It needs to put files from this directory to repository root and then configure CI from appropriate WEB portal.
+
+## travis
+
+- Copy .travis.yml and travis_test_commands.scr files to repository root 
+- Configure CI from http://travis-ci.org
+- It needs to clone https://github.com/Proxmark/homebrew-proxmark3 from your proxmark repository home
+
+
+## appveyor
+
+- Just copy appveyor.yml file to root and configure it from http://appveyor.com
diff --git a/CI/travis_test_commands.scr b/CI/travis_test_commands.scr
new file mode 100644 (file)
index 0000000..4f5b025
--- /dev/null
@@ -0,0 +1,3 @@
+hf mf hardnested t 1 000000000000
+hf emv test
+exit
diff --git a/travis_test_commands.scr b/travis_test_commands.scr
deleted file mode 100644 (file)
index 4f5b025..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-hf mf hardnested t 1 000000000000
-hf emv test
-exit
Impressum, Datenschutz